« Return to Thread: Maptips on Mapserver

RE: Maptips on Mapserver

by Marc Pfister :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

It’s easy to just take the current maptip code which handles the mouse movement detection and modify it to fire off a Map.Query instead of the MG one. However, when you do this every time you stop moving the mouse you trigger a redraw to show the selection highlighted.

 

So where exactly is the query code? I think I’ll just tweak that that to pass the query back to the maptip code.

 

Also, speaking of queries – is there  a way to change the selection highlight color and lineweight?

 

Marc

 

From: pdescham49@... [mailto:pdescham49@...] On Behalf Of Paul Deschamps
Sent: Tuesday, August 26, 2008 11:46 AM
To: Marc Pfister
Cc: fusion-users@...
Subject: Re: [fusion-users] Maptips on Mapserver

 

To my knowledge no.. but you are correct it would be quite simple to develop one using the select widget
All that is needed is to have some logic to detect mouse movement and when the mouse is still have it fire a query.
and output the results.

Cheers

Paul D.

On Tue, Aug 26, 2008 at 2:36 PM, Marc Pfister <mpfister@...> wrote:

Has anyone implemented maptip-like functionality for Mapserver instead of MapGuide? It seems like you could switch Fusion to using the generic selection tool instead of the MG specific one.

 

n
Marc Pfister
Geospatial Data Manager
ENPLAN
mpfister@...
530/221-0440 x108
530/221-6963 Fax

 


_______________________________________________
fusion-users mailing list
fusion-users@...
http://lists.osgeo.org/mailman/listinfo/fusion-users

 


_______________________________________________
fusion-users mailing list
fusion-users@...
http://lists.osgeo.org/mailman/listinfo/fusion-users

 « Return to Thread: Maptips on Mapserver

LightInTheBox - Buy quality products at wholesale price!