polygonExists method

bool polygonExists(
  1. String identifier
)

Returns true if a polygon with the given identifier exists.

Implementation

bool polygonExists(String identifier) {
  return _polygons.containsKey(identifier);
}