1. A concise explanation of the problem you’re experiencing.
When I load multiple GeoJSON vector layers, each of 23 MB size, the webapp hangs and throws out OutOfMemory error.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
//Load data - From toposheets
Cesium.GeoJsonDataSource.clampToGround = true;
var dataSource = Cesium.GeoJsonDataSource.load(’…/GeoJSON/Topo1.geojson’);
viewer.dataSources.add(dataSource);
var dataSource2 = Cesium.GeoJsonDataSource.load(’…/GeoJSON/Topo2.geojson’);
viewer.dataSources.add(dataSource2);
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I want to load multiple Point/Polygon vector layers
4. The Cesium version you’re using, your operating system and browser.
1.42