Coordinate grid with API for JS

266
1
09-12-2023 01:31 PM
arc_ticodex
New Contributor III

Hi!

I found this example of "Display grid" (https://developers.arcgis.com/net/wpf/sample-code/display-grid/)in ArcGIS Maps SDK for .NET and does anyone know if there is something similar for the API for JavaScript?

I didn't find a Grid class in the API for JavaScript documentation.

I found some people asking for it here, but no answers.

Tags (2)
0 Kudos
1 Reply
JoelBennett
MVP Regular Contributor

ArcGIS WebApp Builder (WAB) has a Grid Overlay widget which supports an MGRS grid.  If you're not using WAB, but are using the 3.x API, you can download WAB, get the source code for the widget, and work it into your application.

If you're using 4.x, ESRI has no plans to migrate this widget to Experience Builder.  In that case, you are left with the prospect of migrating the widget yourself.