Bug in How-to guide to Use Google Maps in Dashboards for Asset Tracking

In the code in the “Custom Body Content”, when you parse the GPS location to convert it to Google coordinates, you use a ‘parseInt’ which rounds down the values, and results in an incorrect location. You should instead use a ‘parseFloat’ to correctly convert the latitude and longitude.

Hello @Simon_Cross,

Thank you for pointing this out. I’ve just raised a ticket to get this fixed.

Please let me know if there’s anything else I can do for you.

Thank you,