LineTileDataSource Class Reference
- Last UpdatedJul 15, 2025
- 1 minute read
public class LineTileDataSource
extension LineTileDataSource: NativeBase
extension LineTileDataSource: Hashable
Line tile data source allows the rendering engine access to user managed data sets of
geodetic lines and their attributes through a LineTileSource
.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
Creates a named
LineTileDataSource
in the given context over a givenLineTileSource
.Declaration
Swift
public static func create(context: MapContext, name: String, tileSource: LineTileSource) -> LineTileDataSource
Parameters
context
Map context to associate the data source with.
name
Name of the data source to be created. Must be unique.
tileSource
The source of tile data.
Return Value
Instance of the data source created with given name and tile source.