pan & zoom round a map with an image map
Sarah Parrott
parrott.sarah at GOOGLEMAIL.COM
Fri Dec 29 06:01:45 PST 2006
Hi,
I'm generating a map with a raster layer (a shapefile tile index) and a
points layer (OGR connection to MySQL). I generate an image map so that the
user can select and deselect points. To do this the call I make to mapserver
states that mode is nquery.
There are over 1000 points so I want the user to be able to pan/zoom around
the map to find the area they want, and only display the points at a certain
scale. At this stage I want them to be able to select the points as they do
now. If i put the map into browse mode it says that a template is not
defined. If I put a template in it stops generating the image map.
I have tried putting the map within a form and using zoomdir and zoomsize
in the querystring for the url but it seems to have no effect. Also, when I
put the map in the form, the points do not change color when selected as
they do normally.
I have attached my map file, the header, footer and template html files.
Any help would be great!
Thanks,
Sarah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061229/d9b6eff2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainMap.map
Type: application/octet-stream
Size: 1205 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061229/d9b6eff2/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061229/d9b6eff2/attachment-0001.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061229/d9b6eff2/attachment-0002.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061229/d9b6eff2/attachment-0003.htm>
More information about the MapServer-users
mailing list