Description
Greetings
I've been working around and about with Overviewer for the past 2-3 days.
I haven't seen any quick API or javascript call to do so in the documentation.
I set up a Wordpress website and it is loading the basic map perfectly. The map has no default markers on it (except the spawn point).
What I want to do is that the Wordpress Loop to get the custom markers from a database and add those to the map, but I can't seem to add any markers via Javascript.
Is there a method to add markers directly to the map? Something like the leafletjs API
ex: L.marker([lat,long]).bindPopup(description).addTo(maplayer);)?
Or even like Google Map?
Ex:
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: 'Hello World!'
});
Thanks for helping me out on this!
Regards,
Nickolas Simard