You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Markers created with circleMarker behave oddly before and after RaphaelLayer Features are used.
It can be reproduced inside the demo by placing this little script into the index.js file:
(function(){varmap=newL.Map('map');vartiles=newL.TileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png',{attribution: '',maxZoom: 18});L.circleMarker([-34.810835031000003,138.516159968000011],{radius: 10,color: '#0f0',opacity: 1,weight: 2,fillColor: '#0f0',fillOpacity: 0.5}).addTo(map);varadelaide=newL.LatLng(-34.93027490891421,138.603875041008);map.setView(adelaide,10).addLayer(tiles);// comment this out and the circleMarker will be visible againvarm=newR.Marker(adelaide);map.addLayer(m);})();
The text was updated successfully, but these errors were encountered:
I ended up having to use a raphael object to make a circle marker and extend it to produce the latlng callback needed - i used an edited version of the 'pulse' object:
Markers created with circleMarker behave oddly before and after RaphaelLayer Features are used.
It can be reproduced inside the demo by placing this little script into the index.js file:
The text was updated successfully, but these errors were encountered: