Leaflet custom edit ?handler?

418 Views Asked by At

Is it possible to change the rectangle shown in edit mode to something else, like a marker, circle or an icon?

1

There are 1 best solutions below

0
On BEST ANSWER

You can change the marker with css like:

.leaflet-editing-icon {
    border-radius: 50%;
    background-color: #ffbf4b;
}

Else the draw plugin Leaflet-Geoman is very nice and have modern vertex markers.