withPolygon method - PolygonDataSourceBuilder class - mapview.datasource library - Dart API
withPolygon
withPolygon abstract method
- PolygonData polygon
Configures the builder to insert the given polygon in the data source.
polygonThe polygon to add.
Returns PolygonDataSourceBuilder. This data source builder instance.
Implementation
PolygonDataSourceBuilder withPolygon(PolygonData polygon);