create static method
- MapContext context,
- String name,
- PolygonTileSource tileSource
Creates a named PolygonTileDataSource in the given context over a given PolygonTileSource.
-
contextMap context to associate the data source with. -
nameName of the data source to be created. Must be unique. -
tileSourceThe source of tile data.
Returns PolygonTileDataSource. Instance of the data source created with given name and tile source.
Implementation
static PolygonTileDataSource create(MapContext context, String name, PolygonTileSource tileSource) => $prototype.create(context, name, tileSource);