Make layers control expanded on mobile by default (temp workaround).
This commit is contained in:
parent
b1a202064f
commit
98be07c86b
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
L.Control.Layers = L.Class.extend({
|
L.Control.Layers = L.Class.extend({
|
||||||
options: {
|
options: {
|
||||||
collapsed: true
|
collapsed: !L.Browser.touch
|
||||||
},
|
},
|
||||||
|
|
||||||
initialize: function(baseLayers, overlays, options) {
|
initialize: function(baseLayers, overlays, options) {
|
||||||
|
Loading…
Reference in New Issue
Block a user