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

Daniel Morissette dmorissette at mapgears.com
Wed Jun 29 09:38:48 EDT 2011


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



More information about the mapserver-users mailing list