mapbox/leaflet-omnivore

Multiple layer with omnivore

zogs opened this issue · 0 comments

zogs commented

Is it possible to have two distinct layer like that:

var layer1 = omnivore.geojson('/bivb/bivb-map/web/bundles/map/geojson/cotedor.geojson', null, styled).addTo(map);

var layer2 = omnivore.geojson('/bivb/bivb-map/web/bundles/map/geojson/bourgogne.geojson', null, styled).addTo(map);

It seems to me that the two layer are merge in one...