Adding a marker to a map, live tracking using JavaScript

Hello! So as the title suggests, I am trying to add a marker to the map element using the Run Javascript action from the Connective Cloud plugin. I’ve used the marker adding code I found here, the alternate code. But I am getting an error. Can anyone help? I have my own API keys. I need to know how to do this through Javascript, because I need to be able to extend this to add a route to the map element, and a third marker that shows the current location of the driver. Basically live tracking of a user. We are building an ambulance app, kinda like Uber. If there is a simpler way to do this, please feel free to share.

P.S. I have no experience using geoJSON files, so please forgive any noob-ish mistakes I’ve made.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.