Calculating the extent for a coordinate and zoom level in MapScrip

Matthew Lock matthew at MAPSOLUTIONS.COM.AU
Fri May 19 05:24:20 EDT 2006


Hello,
How do I go about calculating an extent for a given coordinate and zoom
level in MapScript?

My application receives map coordinates as x and y (in my current
projection) and a zoom level in my current map units. How do I calculate an
extent that I can use to center my map on this coordinate at the required
zoom level?

Regards,
Matthew Lock
--
View this message in context: http://www.nabble.com/Calculating+the+extent+for+a+coordinate+and+zoom+level+in+MapScrip-t1649104.html#a4466366
Sent from the Mapserver - User forum at Nabble.com.



More information about the mapserver-users mailing list