withGeometry method - PolygonDataBuilder class - mapview.datasource library - Dart API
withGeometry
withGeometry abstract method
- GeoPolygon geometry
Configures the builder with geometry for the polygon to be created.
geometryGeometry of the polygon. The outer boundary has to be ordered clockwise and closed. Any inner boundary has to be ordered counterclockwise and closed. Altitude of boundary vertices is ignored. The visual behaviour for self-intersecting outer boundary is undefined.
Returns PolygonDataBuilder. The builder.
Implementation
PolygonDataBuilder withGeometry(GeoPolygon geometry);