I have a lot of trouble finding information about scripting in the perspective map, for instance I want to create markers onMapClick. If I manually create empty markers I can change the properties like name, lat and lng but I have no clue how to create new markers or get the lat/lng from the clicked location. I found some functions on leafletjs.com but I don’t know how to use them in Ignition.
I hope you can provide me with some more information and possibly update the user manual.(https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Map).