mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
feat: make vertex icons bigger (and round) (#2506)
Before:  After:  (Size unchanged on mobile) cf #673
This commit is contained in:
commit
b90328f65e
2 changed files with 9 additions and 1 deletions
|
@ -887,4 +887,9 @@ U.Editable = L.Editable.extend({
|
||||||
})
|
})
|
||||||
this.stopDrawing()
|
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 }),
|
||||||
})
|
})
|
||||||
|
|
|
@ -379,7 +379,10 @@ ul.photon-autocomplete {
|
||||||
.umap-edit-enabled .umap-toolbar a {
|
.umap-edit-enabled .umap-toolbar a {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
.leaflet-middle-icon,
|
||||||
|
.leaflet-vertex-icon {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
/* ********************************* */
|
/* ********************************* */
|
||||||
/* Third party plugin override */
|
/* Third party plugin override */
|
||||||
|
|
Loading…
Reference in a new issue