matchClosedWay method

void matchClosedWay(
  1. Way way,
  2. Tile tile,
  3. List<Shape> matchingList
)

Implementation

void matchClosedWay(Way way, Tile tile, List<Shape> matchingList) {
  if (matches(way.tags, tile.indoorLevel)) {
    matchingList.addAll((instructions as ShapeInstructions).shapeClosedWays);
    subRules.forEach((element) {
      element.matchClosedWay(way, tile, matchingList);
    });
  }
}