mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 20:02:36 +02:00
parent
05c27aed98
commit
82708b1e53
3 changed files with 2 additions and 2 deletions
|
@ -239,10 +239,12 @@ export const LeafletMarker = Marker.extend({
|
||||||
|
|
||||||
highlight: function () {
|
highlight: function () {
|
||||||
DomUtil.addClass(this.options.icon.elements.main, 'umap-icon-active')
|
DomUtil.addClass(this.options.icon.elements.main, 'umap-icon-active')
|
||||||
|
this._bringToFront()
|
||||||
},
|
},
|
||||||
|
|
||||||
resetHighlight: function () {
|
resetHighlight: function () {
|
||||||
DomUtil.removeClass(this.options.icon.elements.main, 'umap-icon-active')
|
DomUtil.removeClass(this.options.icon.elements.main, 'umap-icon-active')
|
||||||
|
this._resetZIndex()
|
||||||
},
|
},
|
||||||
|
|
||||||
getPopupToolbarAnchor: function () {
|
getPopupToolbarAnchor: function () {
|
||||||
|
|
|
@ -924,7 +924,6 @@ a.umap-control-caption,
|
||||||
width: 2px;
|
width: 2px;
|
||||||
}
|
}
|
||||||
.umap-icon-active {
|
.umap-icon-active {
|
||||||
z-index: var(--zindex-icon-active)!important;
|
|
||||||
opacity: 1.0!important;
|
opacity: 1.0!important;
|
||||||
}
|
}
|
||||||
.umap-edit-enabled .readonly {
|
.umap-edit-enabled .readonly {
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
--zindex-autocomplete: 470;
|
--zindex-autocomplete: 470;
|
||||||
--zindex-dialog: 460;
|
--zindex-dialog: 460;
|
||||||
--zindex-contextmenu: 455;
|
--zindex-contextmenu: 455;
|
||||||
--zindex-icon-active: 450;
|
|
||||||
--zindex-tooltip: 445;
|
--zindex-tooltip: 445;
|
||||||
--zindex-panels: 440;
|
--zindex-panels: 440;
|
||||||
--zindex-controls: 430;
|
--zindex-controls: 430;
|
||||||
|
|
Loading…
Reference in a new issue