VMVectorMapView

@objcMembers
@MainActor
open class VMVectorMapView : VMMapView

Concrete implementation of VMMapView that uses vector map tiles

Since

1.1

Initializers

Method overrides

  • Apply a custom style to an individual map element

    Since

    1.2

    Declaration

    Swift

    @MainActor
    public override func setStyle(_ style: VMVenueLayerStyle, forUnit unit: VMMSMapUnit)

    Parameters

    unit

    the unit to apply the style to

    style

    the style information

  • Apply a custom style to an individual map element

    Since

    2.2

    Declaration

    Swift

    @MainActor
    public override func setStyle(
        _ style: VMVenueLayerStyle, forBuilding building: VMMSBaseBuilding
    )

    Parameters

    unit

    the unit to apply the style to

    style

    the style information

  • Remove a custom style from an individual building element

    Since

    2.2

    Declaration

    Swift

    @MainActor
    public override func removeStyle(forBuilding building: VMMSBaseBuilding)

    Parameters

    building

    the building to remove the style from