PolygonDataSourceBuilder class abstract

Builder of the polygons data source.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

Constructors

PolygonDataSourceBuilder(MapContext context)
Creates a data source builder instance in the given context.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() PolygonDataSource
Builds a PolygonDataSource instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withName(String dataSourceName) PolygonDataSourceBuilder
Configures the builder to use the given name for data source.
withPolygon(PolygonData polygon) PolygonDataSourceBuilder
Configures the builder to insert the given polygon in the data source.
withPolygons(List<PolygonData> polygon) PolygonDataSourceBuilder
Configures the builder to insert the given polygons in the data source.

Operators

operator ==(Object other) → bool
The equality operator.
inherited