[mapserver-users] PHP MapScript dynamic tooltips with 6.0 - help pls

Lime, Steve D (DNR) steve.lime at state.mn.us
Thu Jun 30 00:44:41 EDT 2011


The imagemap code is still in the 6.0 distribution and I would assume should still work. There
may not be a default output format for that driver though. Have you tried defining one?

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Daniel Morissette [dmorissette at mapgears.com]
Sent: Wednesday, June 29, 2011 8:38 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] PHP MapScript dynamic tooltips with 6.0 - help   pls

On 11-06-29 03:29 AM, Mahalakshmi Narayanan wrote:
>
> Tooltip using imagemap had been a great feature since many of our
> villages are very small and labelling is ruled out.  During
>
> migration from 5.2 version to 6.0, we find that the Imagemap feature
> is dropped.  Since we have been using PHP/MapScript to
>
> provide dynamic tooltips, we are unable to achieve the same in 6.0.
> HTML static .map gives the desired imagemap but through PHP
>
> we are unable to generate it dynamically.  We tried a few lines like
> below but without success..
>

There has been an alternative to HTML imagemaps in MapServer using query
templates for the last few releases. The following docs might help:
   http://mapserver.org/output/imagemaps.html

Another option could be to look at defining a templated output format. See:
   http://mapserver.org/output/template_output.html
and
   http://mapserver.org/development/rfc/ms-rfc-36.html

--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list