PointTileSource
public protocol PointTileSource : TileSource
A source of geodetic point tiles. The implementations must be thread-safe.
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.
-
The tiling scheme used by this source.
Declaration
Swift
var tilingScheme: TilingScheme { get } -
The storage levels available for this data source. Supported range [0, 31].
Declaration
Swift
var storageLevels: [Int32] { get } -
Gets the current data version of a tile.
Declaration
Swift
func getDataVersion(tileKey: TileKey) -> TileSourceDataVersionParameters
tileKeyKey of the tile for which to retrieve the version.
Return Value
Data version for a tile.
-
Adds a delegate for receiving state notifications.
Declaration
Swift
func addDelegate(_ delegate: TileSourceDelegate)Parameters
delegateThe delegate
-
Removes a delegate from receiving state notifications.
Declaration
Swift
func removeDelegate(_ delegate: TileSourceDelegate)Parameters
delegateDelegate to be removed from receiving state notifications.
-
Load data of a tile. Upon completion, the handler gets informed.
Declaration
Swift
func loadTile(tileKey: TileKey, completionHandler: PointTileSourceLoadResultHandler) -> TileSourceLoadTileRequestHandle?Parameters
tileKeyKey of the tile to load data for.
completionHandlerLoad result handler.
Return Value
A handle to the created load request.