Add possibility to add external geojson

This commit is contained in:
Pieter Vander Vennet 2021-03-21 01:32:21 +01:00
parent d7c1f38d26
commit f0765df5ed
10 changed files with 98 additions and 11 deletions

View file

@ -85,6 +85,10 @@ export default class UpdateFromOverpass implements FeatureSource {
if (layer.doNotDownload) {
continue;
}
if(layer.source.geojsonSource !== undefined){
// Not our responsibility to download this layer!
continue;
}
// Check if data for this layer has already been loaded