feat: make vertex icons bigger (and round)

This commit is contained in:
Yohan Boniface 2025-02-11 14:00:09 +01:00
parent 815ff046ff
commit 008a996bea
2 changed files with 9 additions and 1 deletions

View file

@ -887,4 +887,9 @@ U.Editable = L.Editable.extend({
})
this.stopDrawing()
},
createVertexIcon: (options) =>
L.Browser.mobile && L.Browser.touch
? L.divIcon({ iconSize: new L.Point(20, 20), ...options })
: L.divIcon({ iconSize: new L.Point(12, 12), ...options }),
})

View file

@ -379,7 +379,10 @@ ul.photon-autocomplete {
.umap-edit-enabled .umap-toolbar a {
display: block;
}
.leaflet-middle-icon,
.leaflet-vertex-icon {
border-radius: 50%;
}
/* ********************************* */
/* Third party plugin override */