SPMapViewCameraModes

enum SPMapViewCameraModes {}

Different camera modes the map view can have.

  • Default camera mode

    Declaration

    Objective-C

    SPMapViewCameraModeFree = 1 << 0

    Swift

    static var free: SPMapViewCameraModes { get }
  • Camera follows user’s blue dot

    Declaration

    Objective-C

    SPMapViewCameraModeFollow = 1 << 1

    Swift

    static var follow: SPMapViewCameraModes { get }
  • Camera follows uer’s blue dot and compass heading

    Declaration

    Objective-C

    SPMapViewCameraModeFollowWithHeading = 1 << 2

    Swift

    static var followWithHeading: SPMapViewCameraModes { get }