Determine the current viewport(imgext) in map mode
Eduard Witteveen
e.witteveen at HAWARIT.COM
Mon May 9 07:43:22 PDT 2005
Hello,
Currently i'm working on my own viewer to view a map(based upon a url).
I use mapserver only to generate the map image(mapserver has to functionate
stateless). When my viewer starts the image will be shown from the location:
http://localhost/cgi-bin/mapserv.exe?mode=map&map=/ms4w/apps/test.map
In order to perform a zoom(i want to stay in the map mode), i need to know
the current viewport. How can i query this? (i need to know the current
imgext parameters, so i can determine the new zoom in my code)
I know that i could hardcode the imgext parameters in my application, but
i'd rather query this from the mapserver.
--
Ing. Eduard Yeb Witteveen Software Engineer
Hawar Information Technology bv lid Dijkoraad Groep
De Wymerts 7 8701 WT Bolsward
Tel: +31 (0)515 570333 Fax: +31 (0)515 570335
http://www.hawarit.com/ nl_NL fy_NL en_US
More information about the MapServer-users
mailing list