MapTileGeometryData

public class MapTileGeometryData
extension MapTileGeometryData: NativeBase
extension MapTileGeometryData: Hashable

Holds map tile geometry 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.

  • Number of map features.

    Declaration

    Swift

    public private(set) lazy var count: Int32 { get set }
  • The type of geometry held by MapTileGeometryData.

    See more

    Declaration

    Swift

    public enum GeometryType : UInt32, CaseIterable, Codable
  • Gets attributes for the specified map feature.

    Declaration

    Swift

    public func getAttributes(index: Int32) -> DataAttributes?

    Parameters

    index

    The index of map feature.

    Return Value

    The attributes of specified map feature or nil if none exist.

  • Gets geometry data for the specified map feature.

    Declaration

    Swift

    public func getGeometry(index: Int32) -> [GeoCoordinates]?

    Parameters

    index

    The index of map feature.

    Return Value

    The geometry data of specified map feature or nil if none exist.

  • Gets the type of geometry for the specified map feature.

    Declaration

    Swift

    public func getGeometryType(index: Int32) -> MapTileGeometryData.GeometryType?

    Parameters

    index

    The index of map feature.

    Return Value

    The geometry type of specified map feature or nil if none exist.