SKMapSettings Class Reference

Inherits from NSObject
Declared in SKMapSettings.h

Overview

SKMapSettings stores and controls various UI and behavior settings for the SKMapView class. This class should not be instantiated by the client application.

  rotationEnabled

Controls if rotation gestures are enabled or disabled. Default value is YES.

@property (nonatomic, assign) BOOL rotationEnabled

Discussion

Controls if rotation gestures are enabled or disabled. Default value is YES.

Declared In

SKMapSettings.h

  panningEnabled

Controls if panning gestures are enabled or disabled. Default value is YES.

@property (nonatomic, assign) BOOL panningEnabled

Discussion

Controls if panning gestures are enabled or disabled. Default value is YES.

Declared In

SKMapSettings.h

  zoomWithCenterAnchor

If set to YES, when pinched the map will always zoom to the center point of the map instead of the pinched points. Default is NO.

@property (nonatomic, assign) BOOL zoomWithCenterAnchor

Discussion

If set to YES, when pinched the map will always zoom to the center point of the map instead of the pinched points. Default is NO.

Declared In

SKMapSettings.h

  inertiaEnabled

Controls map inertia for panning/zooming/rotating gestures. Default value is YES.

@property (nonatomic, assign) BOOL inertiaEnabled

Discussion

Controls map inertia for panning/zooming/rotating gestures. Default value is YES.

Declared In

SKMapSettings.h

  showCompass

Controls if the compass indicating the map bearing is displayed. Default value is NO.

@property (nonatomic, assign) BOOL showCompass

Discussion

Controls if the compass indicating the map bearing is displayed. Default value is NO.

Declared In

SKMapSettings.h

  showAccuracyCircle

Controls if the accuracy circle is displayed. Default value is YES.

@property (nonatomic, assign) BOOL showAccuracyCircle

Discussion

Controls if the accuracy circle is displayed. Default value is YES.

Declared In

SKMapSettings.h

  compassOffset

The relative position of the compass compared to its initial position (top right corner). For moving the compass to the left, set positive value to x, to move down set positive value to y. Default value is (0,0).

@property (nonatomic, assign) CGPoint compassOffset

Discussion

The relative position of the compass compared to its initial position (top right corner). For moving the compass to the left, set positive value to x, to move down set positive value to y. Default value is (0,0).

Declared In

SKMapSettings.h

  enabledRendering

Allows or stops the map rendering when the map is visible. Default value is YES. When the map is not visible, rendering is automatically stopped.

@property (nonatomic, assign) BOOL enabledRendering

Discussion

Allows or stops the map rendering when the map is visible. Default value is YES. When the map is not visible, rendering is automatically stopped.

Declared In

SKMapSettings.h

  showDebugView

Manages the displaying of debug information, like the center coordinate of the map and the zoom level. By default is set to NO.

@property (nonatomic, assign) BOOL showDebugView

Discussion

Manages the displaying of debug information, like the center coordinate of the map and the zoom level. By default is set to NO.

Declared In

SKMapSettings.h

  orientationIndicatorType

The orientation indicator type. If SKOrientationIndicatorCustomImage is set, the “heading.png” image file from the style’s resources will be used.

@property (nonatomic, assign) SKOrientationIndicatorType orientationIndicatorType

Discussion

The orientation indicator type. If SKOrientationIndicatorCustomImage is set, the “heading.png” image file from the style’s resources will be used.

Declared In

SKMapSettings.h

  displayMode

Controls the map display mode (2D / 3D).

@property (nonatomic, assign) SKMapDisplayMode displayMode

Discussion

Controls the map display mode (2D / 3D).

Declared In

SKMapSettings.h

  cameraSettings

Controls how the map is viewed while in 3D mode. Changing the properties of cameraSettings directly does not have any effect. You must configure your SK3DCameraSettings object then assign it to this property.

@property (nonatomic, strong) SKCameraSettings *cameraSettings

Discussion

Controls how the map is viewed while in 3D mode. Changing the properties of cameraSettings directly does not have any effect. You must configure your SK3DCameraSettings object then assign it to this property.

Declared In

SKMapSettings.h

  poiDisplayingOption

A mask of SKPOIDisplayingOption elements used to configure map POIs displaying. By default all of the POIs are displayed.

@property (nonatomic, assign) SKPOIDisplayingOption poiDisplayingOption

Discussion

A mask of SKPOIDisplayingOption elements used to configure map POIs displaying. By default all of the POIs are displayed.

Declared In

SKMapSettings.h

  mapInternationalization

Controls the maps labeling language and transliteration. For further details see SKMapInternationalizationSettings.

@property (nonatomic, strong) SKMapInternationalizationSettings *mapInternationalization

Discussion

Controls the maps labeling language and transliteration. For further details see SKMapInternationalizationSettings.

Declared In

SKMapSettings.h

  zoomLimits

Used for setting the zoom limits of the map. For the minimum and maximum values, check the SKDefinitions constants.

@property (nonatomic, assign) SKMapZoomLimits zoomLimits

Discussion

Used for setting the zoom limits of the map. For the minimum and maximum values, check the SKDefinitions constants.

Declared In

SKMapSettings.h

  annotationTapZoomLimit

Defines the starting zoom level where the annotation selection works. By default it’s 12.0.

@property (nonatomic, assign) float annotationTapZoomLimit

Discussion

Defines the starting zoom level where the annotation selection works. By default it’s 12.0.

Declared In

SKMapSettings.h

  trailSettings

Marks the path behind the current position with trail settings.

@property (nonatomic, strong) SKTrailSettings *trailSettings

Discussion

Marks the path behind the current position with trail settings.

Declared In

SKMapSettings.h

  showCurrentPosition

Controls if the current position icon is displayed on the map.

@property (nonatomic, assign) BOOL showCurrentPosition

Discussion

Controls if the current position icon is displayed on the map.

Declared In

SKMapSettings.h

  showStreetNamePopUps

Controls if the street names should be displayed as pop-ups in 3D mode. Default value is NO.

@property (nonatomic, assign) BOOL showStreetNamePopUps

Discussion

Controls if the street names should be displayed as pop-ups in 3D mode. Default value is NO.

Declared In

SKMapSettings.h

  showBicycleLanes

Controls if bicycle lanes are rendered on the map. Default value is NO.

@property (nonatomic, assign) BOOL showBicycleLanes

Discussion

Controls if bicycle lanes are rendered on the map. Default value is NO.

Declared In

SKMapSettings.h

  showHouseNumbers

Controls if house numbers are rendered on the map. Default value is YES.

@property (nonatomic, assign) BOOL showHouseNumbers

Discussion

Controls if house numbers are rendered on the map. Default value is YES.

Declared In

SKMapSettings.h

  showOneWays

Controls if one way streets are rendered on the map. Default value is YES.

@property (nonatomic, assign) BOOL showOneWays

Discussion

Controls if one way streets are rendered on the map. Default value is YES.

Declared In

SKMapSettings.h

  showStreetBadges

Controls if street badges are rendered on the map. Default value is YES.

@property (nonatomic, assign) BOOL showStreetBadges

Discussion

Controls if street badges are rendered on the map. Default value is YES.

Declared In

SKMapSettings.h

  frameRate

Controls the framerate of the map for non user interaction camera changes (navigation, inertia, etc.). Default is 30 fps.

@property (nonatomic, assign) NSInteger frameRate

Discussion

Controls the framerate of the map for non user interaction camera changes (navigation, inertia, etc.). Default is 30 fps.

Declared In

SKMapSettings.h

  osmAttributionPosition

Indicates the position of the osm attribution.

@property (nonatomic, assign) SKOSMAttributionPosition osmAttributionPosition

Discussion

Indicates the position of the osm attribution.

Declared In

SKMapSettings.h

  companyAttributionPosition

Indicates the position of the company attribution.

@property (nonatomic, assign) SKCompanyAttributionPosition companyAttributionPosition

Discussion

Indicates the position of the company attribution.

Declared In

SKMapSettings.h

  drawingOrderType

Specifies the drawing order for the drawable objects (e.g. polygons, polylines) and annotations. By default the annotations are rendered over drawable objects.

@property (nonatomic, assign) SKDrawingOrderType drawingOrderType

Discussion

Specifies the drawing order for the drawable objects (e.g. polygons, polylines) and annotations. By default the annotations are rendered over drawable objects.

Declared In

SKMapSettings.h

  followUserPosition

Controls if the map follows the user position. The default value is NO.

@property (nonatomic, assign) BOOL followUserPosition

Discussion

Controls if the map follows the user position. The default value is NO.

Declared In

SKMapSettings.h

  headingMode

Controls the heading mode of the map. The default value is SKHeadingModeNone.

@property (nonatomic, assign) SKHeadingMode headingMode

Discussion

Controls the heading mode of the map. The default value is SKHeadingModeNone.

Declared In

SKMapSettings.h

  transparencyEnabled

BETA: Controls if the map is transparent or opaque. Default is NO.

@property (nonatomic, assign) BOOL transparencyEnabled

Discussion

BETA: Controls if the map is transparent or opaque. Default is NO.

Declared In

SKMapSettings.h

+ mapSettings

Creates a newly initialized SKMapSettings object.

+ (instancetype)mapSettings

Discussion

Creates a newly initialized SKMapSettings object.

Declared In

SKMapSettings.h