forked from MapComplete/MapComplete
Remove legacy: the minOverlapPercentage can now be built with a calculated tag and isShown
This commit is contained in:
parent
53e70b9a9c
commit
ad406b5550
14 changed files with 237 additions and 252 deletions
|
@ -49,7 +49,7 @@ export default class SimpleMetaTagger {
|
|||
const sqMeters = GeoOperations.surfaceAreaInSqMeters(feature);
|
||||
feature.properties["_surface"] = "" + sqMeters;
|
||||
feature.properties["_surface:ha"] = "" + Math.floor(sqMeters / 1000) / 10;
|
||||
|
||||
feature.area = sqMeters;
|
||||
})
|
||||
);
|
||||
private static country = new SimpleMetaTagger(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue