Open
Description
I already read and follow code like below:
var myLayer1 = L.tileLayer(...).addTo(map);
var myLayer2 = L.tileLayer(...).addTo(map);
var sideBySide = L.control.sideBySide([myLayer1], [myLayer2]).addTo(map);
So, How can I compare many layer in leftLayer like:
var myLayer1 = L.tileLayer(...).addTo(map);
var myLayer2 = L.tileLayer(...).addTo(map);
var myLayer3 = L.tileLayer(...).addTo(map);
var myLayer4 = L.tileLayer(...).addTo(map);
var sideBySide = L.control.sideBySide([myLayer1, myLayer2, myLayer3], [myLayer4]).addTo(map);
Can I compare 3 layers in left with 1 layer in right at the same time ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels