Ajout de la propriete "ignore" pour ignorer l'ajout d'une feature
This commit is contained in:
parent
5832b56787
commit
b258e30bee
4 changed files with 7 additions and 2 deletions
|
|
@ -139,6 +139,10 @@ export class PlaceDatabase extends EventTarget {
|
|||
|
||||
for(let [i, feature] of Object.entries(geojson.features)){
|
||||
|
||||
if(feature.properties["ignore"]){
|
||||
continue
|
||||
}
|
||||
|
||||
feature.properties = {
|
||||
...(feature.properties || {}),
|
||||
[FEATURE_INDEX]: i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue