Open sefo opened 1 year ago
It's not documented anywhere but I had to create 2 panes on the map:
this.map.createPane('left');
this.map.createPane('right');
Then assign my geojson data to either one:
const layer = L.geoJSON(map, { style: { color, weight: 2, opacity: 1 }, pane: 'left' }).addTo(this.map);
@gmaclennan
I've updated the lib so that getContainer is replaced by getPane (leaflet 1.9)
Both layers are on the right pane...
I've tried setting them up directly in the sideBySide() function for the same result.
EDIT: setxxxLayers individually work, but not both at the same time. So I either get left pane working with blank right pane or the other way around.