PolygonDataSourceBuilder class abstract

Builder of the polygons data source.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change 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