I was wondering if I as a dashboard user could access the leaflet map
object which was created by the visualization in my own javascript code somehow. My intention is to add some lines and other things which would require me to add a layer or two to the map and draw on them.
Maybe I'm thinking too specific, but I don't really see any other way to change the content of the map other than having the actual object.
Thanks!
You can create your own map
using leaflet
libraries
But I already have a map object created by the viz, I don't need another one.
Currently there is no way to expose any hooks into the javascript to the end-user via the API. I'll reach out to you via email shortly to see what your use case is and potentially extend the app to support drawing on the map.