create static method
- MapContext context,
- String name,
- LineTileSource tileSource
Creates a named LineTileDataSource in the given context over a given LineTileSource.
-
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 LineTileDataSource. Instance of the data source created with given name and tile source.
Implementation
static LineTileDataSource create(MapContext context, String name, LineTileSource tileSource) => $prototype.create(context, name, tileSource);