fix sources being invisible in the editor
This commit is contained in:
parent
554b36d22f
commit
6cf8ea40c0
2 changed files with 4 additions and 1 deletions
|
@ -170,6 +170,9 @@ form button.invisiblesubmit {
|
|||
}
|
||||
|
||||
/* Styles inside leaflet */
|
||||
.leaflet-map-pane svg {
|
||||
z-index: auto;
|
||||
}
|
||||
.leaflet-control-layers-overlays label {
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ editor = {
|
|||
sources: {},
|
||||
get_sources: function () {
|
||||
// load sources
|
||||
editor._sources_control = L.control.layers([], [], {autoZIndex: true});
|
||||
editor._sources_control = L.control.layers([], [], { autoZIndex: false });
|
||||
|
||||
$.getJSON('/api/sources/', function (sources) {
|
||||
var source;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue