Closed wmaiouiru closed 6 years ago
@wmaiouiru I tried you PR, but it has some problems... the move even doesn't seem to fire up after swiping the bar. Are you sure about this PR?
I will need to look at this again when I get a chance. Sorry for the trouble.
When there are more than one layers in the initialization, only the last layer is clipped. L.control.sideBySide(left_layers, right_layers).addTo(this.map);
Modified _updateClip method to support his.