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
Marker point when I render on ArcGIS map:
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?