在Leaflet控件中是底图下的叠加层。如何摆放它们? 只是为了交换叠加器/底图的位置。
答案 0 :(得分:1)
现在使用flex进行编辑:
.leaflet-control-layers-expanded .leaflet-control-layers-list {
display:flex; flex-direction:column;}
.leaflet-control-layers-base { order:3 }
.leaflet-control-layers-separator {order:2}
较旧:
.leaflet-control-layers-list {display:table; }
.leaflet-control-layers-base {display:table-footer-group; }
.leaflet-control-layers-overlays {display:table-header-group;}
.leaflet-control-layers-separator {display:none}