MapOcmTileDataSourceFactory
public class MapOcmTileDataSourceFactory
extension MapOcmTileDataSourceFactory: NativeBase
extension MapOcmTileDataSourceFactory: Hashable
Factory for creation of MapTileDataSource instances backed by OCM data.
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 new factory using supplied
SDKNativeEngine.Declaration
Swift
public init(sdkEngine: SDKNativeEngine)Parameters
sdkEngineThe native SDK engine instance used for map operations.
-
Creates a new OCM backed data source for a specified data layer.
Declaration
Swift
public func createMapTileDataSource(mapLayer: MapTileDataLayer) -> MapTileDataSourceParameters
mapLayerThe map data layer.
Return Value
The data source for the specified data layer.