The actual syntax for creating a flyer marker is <
L.marker(<LatLng> latlng, <Marker options> options? );
You can check the API link here
Below is your code
correct code
wax.tilejson('http://localhost:8888/v2/DigitalHumanities.json', function(tilejson) { var map = new L.Map('map-div') .addLayer(new wax.leaf.connector(tilejson)) .setView(new L.LatLng(-17.1828,137.4609), 4); var markers = new L.marker([-17.1828,137.4609],{clickable:true}); map.addLayer(markers); var markerx = new L.marker([137.4609,-17.1828]); map.addLayer(markerx); });
Nikhil Sharma
source share