isGeomPolygon static method
Checks if the given geometry
is a Polygon (or MultiPolygon) geometry.
Implementation
static bool isGeomPolygon(Geometry geometry) {
if (geometry is Polygon || geometry is MultiPolygon) {
return true;
}
return false;
}