Skip to content

Commit

Permalink
add 'enters polygon'
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 28, 2021
1 parent 2cebdd1 commit ae1ca9d
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -105,6 +105,11 @@ else if (areaName.equals("ellipsoid")) {
return false;
}
}
else if (areaName.equals("polygon")) {
if (!(area instanceof PolygonTag)) {
return false;
}
}
else if (areaName.startsWith("area_flagged:")) {
AbstractFlagTracker tracker = ((FlaggableObject) area).getFlagTracker();
if (tracker == null || !tracker.hasFlag(areaName.substring("area_flagged:".length()))) {
Expand Down

0 comments on commit ae1ca9d

Please sign in to comment.