ESRI ArcGIS : location point [using lat, long] is not rendering at correct position on arcGIS map

210 Views Asked by At

I am working on a web app where I need to render the point location on a map using latitude and longitude values returned from the tracking device.

When I render lat & long positions on a map, it is some meters offset from the actual location.

Actual location of device:

Verified from location tracker app enter image description here

Marker point when I render on ArcGIS map:

enter image description here

You can see it is not rendering at the correct location

For reference, I have created a pen for this issue

codepen: https://codepen.io/navtej887/pen/xxVXGYV

Is this the right way to render a lat-long position on the map?

0

There are 0 best solutions below