jeudi 2 avril 2015

circle disappears in max zooming for mapbox

In map i created marker in that i create circle layer when you zoom the without marker circle layer coming about to max zoom but if any marker is there it will show about level 17 (when i click the marker it will zoom 18 that time disappears the circle layer )


my code:



Circle: function(geojson) {
var coords = geojson.coordinates;
return L.circle([coords[1], coords[0]], geojson.radius,
{ clickable: false });
}


is there any solution for this circle !in map i created circle but at max zoom its disappears ]1





Aucun commentaire:

Enregistrer un commentaire