calvinmetcalf / leaflet-ajax

plugin for leaflet for ajax
https://calvinmetcalf.github.io/leaflet-ajax/example/
MIT License
365 stars 189 forks source link

Change marker to circleMarker? #55

Open axi92 opened 6 years ago

axi92 commented 6 years ago

I used the example https://github.com/calvinmetcalf/leaflet-ajax/blob/gh-pages/example/index.html#L50

But how can I change the marker to this:


var greencircle = {
    color: '#03dc03',
    weight: 5
}

var wien = L.circleMarker([48.208539, 16.372505], greencircle).bindPopup('<b>Wien, Wien</b>')
```,
StefanBrand commented 5 years ago

This might be interesting to you too: https://gis.stackexchange.com/a/307149/122597