PolygonTileDataSource
public class PolygonTileDataSource
extension PolygonTileDataSource: NativeBase
extension PolygonTileDataSource: Hashable
Polygon tile data source allows the rendering engine access to user managed data sets of
geodetic polygons and their attributes through a PolygonTileSource.
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.
-
Creates a named
PolygonTileDataSourcein the given context over a givenPolygonTileSource.Declaration
Swift
public static func create(context: MapContext, name: String, tileSource: PolygonTileSource) -> PolygonTileDataSourceParameters
contextMap context to associate the data source with.
nameName of the data source to be created. Must be unique.
tileSourceThe source of tile data.
Return Value
Instance of the data source created with given name and tile source.