Search code examples
javascript.netgisproj4js

Displaying decimal degrees


I have a Web Application that displays a Map Service that is in NAD 1927 UTM Zone 15N. I have JavaScript code that displays the XY in status bar based on where mouse cursor is on that map. I want to display Latitude/Longitude values instead. Does anyone know how?


Solution

  • There is a javascript port of the proj.4 projection system called proj4js. proj.4 allows converting from grids to lat/long and vice-versa.