LocationSupportableMapView

public protocol LocationSupportableMapView : UIView

Undocumented

  • Matching the style property in MapView

    Declaration

    Swift

    var style: Style! { get }
  • Returns the screen coordinate for a given location coordinate (lat-long)

    Declaration

    Swift

    func screenCoordinate(for locationCoordinate: CLLocationCoordinate2D) -> ScreenCoordinate
  • Allows the LocationSupportableMapView to subscribe to a delegate

    Declaration

    Swift

    func subscribeRenderFrameHandler(_ handler: @escaping (MapboxCoreMaps.Event) -> Void)
  • Allows the LocationSupportableMapView to subscrive to a delegate function and handle style change events

    Declaration

    Swift

    func subscribeStyleChangeHandler(_ handler: @escaping (MapboxCoreMaps.Event) -> Void)
  • Gets meters per point at latitude for calculating accuracy ring

    Declaration

    Swift

    func metersPerPointAtLatitude(latitude: CLLocationDegrees) -> CLLocationDistance