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
Hello, I'm trying to create a RegularPolygonMarker and add it to a layer that I already had generated, a markerCluster, but it will not let me add it to this, could someone help me? Then I pass the code of how I believe it. Thank you
puntos_red_distribucion= new L.MarkerClusterGroup();
var prueba = new L.RegularPolygonMarker([x, y], {
color: '#000',
weight: 1,
fillColor: "red",
radius: 7,
fillOpacity: 1,
numberOfSides: 5,
id: consulta
});
prueba.addTo(puntos_red_distribucion)
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to create a RegularPolygonMarker and add it to a layer that I already had generated, a markerCluster, but it will not let me add it to this, could someone help me? Then I pass the code of how I believe it. Thank you
The text was updated successfully, but these errors were encountered: