Open yfreemark opened 8 years ago
The code loads each file asynchronously. Each layer is begun to be added to the map in the order it is listed in the array, but some layers may take longer to add to the map because they have more data.
I think a solution would be to add a new property in the layers array that is "delay": true
and then I would edit the processLayers()
function to delay adding those by 1 second.
Because several of the projects on the renovations geojson are positioned directly on top of existing lines, it would be preferable for the existing lines geojson to be at the bottom.