[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[Mapserver-users] Using mapserv.js with decimal degrees
- Subject: [Mapserver-users] Using mapserv.js with decimal degrees
- From: mtperry78@sbcglobal.net (Matthew Perry)
- Date: Mon, 3 May 2004 12:00:48 -0700 (PDT)
Hey all,
I have been using the mapserv.js and dbox.js
libraries for developing mapserver interfaces. It
works great for projected data but now we're trying to
get the navigation tools (panning, zooming, etc) to
work with decimal degrees.
In the mapserv.js, there is a global variable called
InchesPerMapUnit that you need to set correctly if not
using meters. Since lat/long is measured in angular
units (degrees), how would you set this variable?
Are there any other tricks to get the coordinate
calculations working with lat/long? Anyone had any
luck with this? Is it even possible?
Thanks for any input!
Matt Perry
Natural Resources Planning
Humboldt State University
mtperry78@sbcglobal.net