[fusion-users] Maptips on Mapserver

Paul Deschamps pdeschamps at dmsolutions.ca
Wed Aug 27 09:12:02 EDT 2008


The mapserver highlight is part of the query block

http://mapserver.gis.umn.edu/docs/reference/mapfile/querymap

Have a look at the SelectionPannel widget it has a complete
Query/Select->DisplayResults Process for mapserver.

Cheers

Paul.

On Tue, Aug 26, 2008 at 8:04 PM, Marc Pfister <mpfister at enplan.com> wrote:

>  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 at gmail.com [mailto:pdescham49 at gmail.com] *On Behalf Of *Paul
> Deschamps
> *Sent:* Tuesday, August 26, 2008 11:46 AM
> *To:* Marc Pfister
> *Cc:* fusion-users at lists.osgeo.org
> *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 at enplan.com>
> 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 at enplan.com
> 530/221-0440 x108
> 530/221-6963 Fax
>
>
>
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20080827/a303b479/attachment-0001.html


More information about the fusion-users mailing list