BrianBunker / cmv-widgets

Widgets based on the Esri jsapi, configured for the Configurable Map Viewer. Widgets include Drag and Drop, Goto, Map Navigation Hash, and Nearby.
https://brianbunker.github.com/cmv-widgets
MIT License
18 stars 24 forks source link

Pad MGRS coords with zeros to align with arcgis #50

Closed Zxcvbnm87 closed 5 years ago

Zxcvbnm87 commented 5 years ago

When entering anything less than a 10 figure mrgs coordinate the goth widget appears off compared to data created in arcgis. I have traced this issue to arcgis automatically padding anything less than a 10 figure grid with zeros, where as goto simply places the point in the centre of the grid square, thus making the data and goto misalign. Any solution to this would be greatly appreciated.