Skip to main content

enumeration

ActionResult​

Properties

ok​

Action successfully completed.

networkError​

Network error.

AddEventError​

Properties

networkError​

Network error.

territoryNotSupported​

Attempted to add an event outside of 2GIS projects.

unknownUserLocation​

Unknown current user position. Road events can only be added with a known position.

userLocationTooFarFromEvent​

The user is too far away from the location of the event to be added.

notAuthorized​

Attempted to add an anonymous event in an area where user authorization is required.

User has refused to collect and submit personal data.

userBlocked​

User is blocked.

tooManyRequests​

User creates events too often.

AddEventResult​

AddressComponent​

Alignment​

Properties

topLeft​

topRight​

bottomLeft​

bottomRight​

AnimationMode​

Properties

normal​

Normal. Object animation is displayed once.

loop​

Looped. Object animation is displayed in a loop.

AttributeValue​

AudioFocusPolicy​

Properties

ignore​

Ignore other applications.

mute​

Disable sounds of other applications while playing.

duck​

Muffle up sounds of other applications.

AuthorType​

Properties

anonymous​

Anonymous user.

doubleGis​

2GIS company.

user​

Authorized user.

me​

Current user of the application.

BearingSource​

Properties

auto​

Automatic selection of the direction source depending on the geolocation parameters.

satellite​

Orient the map by the direction obtained from GNSS.

magnetic​

Orient the map by compass.

BetterRouteResponse​

Properties

accept​

User accepted the offer to switch to an alternative route.

reject​

User explicitly declined the offer to switch to an alternative route.

timeout​

BicycleInstructionCrossroadLandmark​

Properties

BicycleInstructionCrossroadManeuverDirection​

BriefExtraRouteInfo​

CalloutVisualizationMode​

Properties

always​

Shows callouts (including DisplayFlag) and calculates positions for them if at least one route is added to the source.

multipleRoutes​

Show bubbles (considering DisplayFlag) and calculate positions for them only if more than one route object is added to the source.

none​

Do not show bubbles and do not calculate positions for them.

CameraAnimatedMoveReason​

Properties

application​

Explicit call of ICamera::move()

event​

Animated move is caused by event handling (kinematics after moving the map, turning north, and others).

`internal`​

Internal causes, e.g., due to active tracking of the user's position.

CameraAnimatedMoveResult​

Properties

finished​

Moving the camera position is complete when the finish point is reached.

cancelledByEvent​

Camera position movement canceled by a map event (shift, zoom, etc.).

cancelledByApplication​

New flyover is started, position is changed (explicitly or implicitly via ICamera::set_position_point() or ICamera::set_padding()), or tracking mode is changed.

CameraAnimationType​

Properties

`default`​

Type of flyover is selected depending on the distance between the starting and the finish positions.

linear​

Linear change of camera position parameters.

showBothPositions​

Zoom is changed to try and display the start and end positions at some point in the flyover. Positions may not be displayed if the current restrictions (see ICamera::zoom_restrictions()) do not allow setting such a small zoom level.

CameraBehaviourChangeReason​

Properties

application​

Changes the mode by the application, setting the position (explicitly or indirectly via ICamera::set_position_point()), launching the flyover.

event​

Tracking mode changed because of a map event. Depending on the event, the tracking mode for position, rotation angle, tilt angle, or scale may reset, see CameraBehaviour.

CameraChangeReason​

Properties

none​

position​

Camera position.

zoomRestrictions​

Zoom level restrictions.

devicePPI​

Screen resolution (pixels per inch density).

deviceDensity​

Ratio of DPI (dots per inch) to device base DPI.

size​

Size of the viewing area.

padding​

Paddings from screen edges.

positionPoint​

Screen point to which the camera position is attached.

viewPoint​

View point relative to the full size of the map viewport.

visibleRect​

Bounding rectangle of the map visible area.

maxTiltRestriction​

Maximum camera tilt angle restrictions.

viewportRestriction​

Viewport restrictions.

state​

Camera state.

behaviour​

Camera tracking mode.

CameraFollowState​

Properties

off​

Camera is not in tracking mode.

followPosition​

Camera is in position tracking mode.

followDirection​

Camera is in position and direction tracking mode.

CameraPurpose​

Properties

speedControl​

Recording of exceeding the speed limit.

averageSpeedControl​

Recording of exceeding the average speed on the section.

publicTransportLaneMovementControl​

Recording of movement on the dedicated lane for public transport.

roadMarkingsCrossingControl​

Recording of crossing the solid line of road markings, driving on the side of the road.

trafficLightsViolationControl​

Recording of passing at the forbidden signal of traffic lights.

stopLineCrossingControl​

Recording of driving over the stop line, driving without stopping the stop sign, driving to the intersection during a jam.

oncomingTrafficLaneMovementControl​

Recording driving in the oncoming lane.

pedestrianAdvantageViolationControl​

Recording failure to give priority to pedestrians.

laneDisciplineControl​

Recording of violation of lane rotation at the intersection.

noStoppingViolationControl​

Recording of violation of prohibition of stopping.

dummy​

Fake item.

truck​

Platon system camera, truck restriction control camera.

CameraState​

Properties

busy​

Camera is user-controlled.

fly​

There is an active flyover.

free​

Camera is not user controlled and there are no active flyovers.

CarBriefRouteInfoTrafficSpeed​

Properties

CarInstructionCrossroadDirection​

Properties

straight​

slightlyLeft​

left​

sharplyLeft​

uTurn​

sharplyRight​

Sharp turn to the right.

right​

slightlyRight​

Make a slight turn to the right.

keepLeft​

keepRight​

CarInstructionCrossroadLandmark​

Properties

none​

tunnelBefore​

In front of the tunnel.

tunnelEntry​

tunnelAfter​

inTunnel​

bridgeBefore​

bridgeEntry​

bridgeAfter​

bridgeUnder​

onBridge​

archwayEntry​

archwayBefore​

onTrafficLight​

At the traffic lights.

courtyardEntry​

doublerEntry​

trafficLightBefore​

Before the traffic light.

trafficLightAfter​

After the traffic light.

atNextTrafficLight​

At the next traffic light.

alongMainRoad​

CarInstructionRoundaboutType​

Properties

entry​

intermediate​

Intermediate instruction on the roundabout.

exit​

Exiting the roundabout.

ChangeType​

Properties

CheckableItemType​

Properties

simple​

Simple element.

group​

Set of elements that works as a radio group.

ClosedReason​

Properties

lunch​

`break`​

workTime​

Closed according to the work schedule.

CrossingType​

Properties

noCrossing​

No crossing.

ferry​

Ferry crossing.

ice​

Ice crossing.

pontoon​

Pontoon crossing.

DesiredAccuracy​

Properties

low​

Low geopositioning accuracy. The most suitable mode for determining the current city/district. This mode is notable for its low power consumption. In this mode, the device can either rely solely on networks (Wi-Fi, 3GPP, IP) or use the GNSS receiver in the low-power mode (caching the geoposition for a long time).

medium​

Geo-positioning accuracy provided by a standard GNSS receiver. The most appropriate mode for displaying your current location on the map. If a GNSS receiver is installed on your device and the satellites are in view, the data from the satellites is used to determine your location. Otherwise, alternative geo-positioning sources are used.

high​

Geo-positioning accuracy provided by a standard GNSS receiver and possibly enhanced by additional means. The most suitable mode for route guidance. Similar to the Medium mode, but the GNSS receiver can be switched to a higher accuracy mode or additional sensors can be used to refine geopositioning. May consume a lot of power (the device in this mode is usually connected to a power source).

DgisSourceWorkingMode​

Properties

online​

Gets data from 2GIS servers.

offline​

Works with pre-loaded data.

hybridOnlineFirst​

Hybrid mode, which gives priority to obtaining data from 2GIS servers. Pre-loaded data is used if, for some reason, it was not possible to obtain data from the servers or the pre-loaded data matches the data on the server.

hybridOfflineFirst​

Hybrid mode, which gives priority to using pre-loaded data. Data from 2GIS servers is used if there is no pre-loaded data.

DistanceFormattingStrategy​

DurationFormattingStrategy​

DurationValueFormattingStrategy​

DynamicFilter​

Properties

flagFilter​

rangeFilter​

sortingFilter​

ExcludedAreaSeverity​

Properties

soft​

Low exception priority, area will be avoided if possible.

hard​

High exception priority, area will be avoided necessarily.

ExcludedAreaType​

Properties

point​

Excluded region is a circle with the center at the first point of 'points' and a radius equal to 'extent'. The 'points' must contain exactly one point, otherwise the query fails.

polyline​

Excluded area is a polyline with width equal to 'extent' (points - line nodes).

polygon​

Excluded region is a polygon with vertices at 'points'. In this case, the sides of the polygon are additionally padded by 'extent'.

ExtraInstructionInfo​

FilterType​

Properties

sort​

Filter defines the order of sorting search results.

filter​

Filter indicates that an object in the search results has a certain feature.

FollowBearing​

FollowStyleZoom​

FollowTilt​

FollowValue​

Properties

FormattingType​

Properties

short​

Short form of address. For multi-part addresses, some components may be omitted.

full​

Full address form. All components will be represented.

GeometryKind​

GestureActionPoint​

Properties

GraphicsPreset​

Properties

lite​

Simplified rendering mode: "heavy" graphic effects are disabled whenever possible.

normal​

Standard rendering mode: visual quality of the image and resource consumption are balanced.

immersive​

Immersive mode: all "heavy" graphic effects are enabled.
This can lead to significant performance degradation on weak devices.

ImageFormat​

Properties

png​

Image in PNG format.

svg​

Image in SVG format.

rgba8888​

lottieJson​

JSON file with Lottie animation.

IndoorBuildingMode​

Properties

IndoorManagerState​

Properties

disabled​

Floors are not displayed.

enabled​

Floors are displayed.

InstructionManeuver​

Properties

none​

start​

Start of movement.

finish​

End of movement.

crossroadStraight​

Moving through the intersection straight ahead.

crossroadSlightlyLeft​

Moving through the intersection slightly to the left.

crossroadLeft​

Moving through the intersection to the left.

crossroadSharplyLeft​

Moving through the intersection sharply to the left.

crossroadSlightlyRight​

Moving through the intersection slightly to the right.

crossroadRight​

Moving through the intersection to the right.

crossroadSharplyRight​

Moving through the intersection sharply to the right.

crossroadKeepLeft​

Going through the intersection - keep to the left.

crossroadKeepRight​

Going through the intersection - keep to the right.

crossroadUTurn​

Turning at the intersection.

roundaboutForward​

Going through the roundabout straight ahead.

roundaboutLeft45​

Going through the roundabout slightly to the left.

roundaboutLeft90​

Going through the roundabout to the left.

roundaboutLeft135​

Going through the roundabout sharply to the left.

roundaboutRight45​

Going through the roundabout slightly to the right.

roundaboutRight90​

Going through the roundabout to the right.

roundaboutRight135​

Going through the roundabout sharply to the right.

roundaboutBackward​

Going through an intersection with traffic circle traffic in the opposite direction.

roundaboutExit​

Exiting a traffic circle intersection.

uTurn​

roadCrossing​

Compound maneuver at an intersection (e.g., crossing two roads at an intersection for a pedestrian route).

JSONValue​

public init(nilLiteral _: ())

Creates an instance initialized with .
This documentation comment was inherited from .

public init(booleanLiteral value: Bool)

Creates an instance initialized to the given Boolean value.
This documentation comment was inherited from .

Parameters

value

Value of the new instance.

public init(integerLiteral value: Int64)

Creates an instance initialized to the specified integer value.
This documentation comment was inherited from .

Parameters

value

Int64

The value to create.

public init(floatLiteral value: Double)

Creates an instance initialized to the specified floating-point value.
This documentation comment was inherited from .

Parameters

value

The value to create.

public init(stringLiteral value: String)

Creates an instance initialized to the given string value.
This documentation comment was inherited from .

Parameters

value

Value of the new instance.

public init(arrayLiteral elements: JSONValue...)

Creates an instance initialized with the given elements.
This documentation comment was inherited from .

Parameters

elements

JSONValue...
public init(dictionaryLiteral elements: (String, JSONValue)...)

Creates an instance initialized with the given key-value pairs.
This documentation comment was inherited from .

public init(from decoder: Decoder) throws

Creates a new instance by decoding from the given decoder.

Parameters

decoder

Decoder

Decoder to read data from.

Methods
public func encode(to encoder: Encoder) throws

Encodes this value into the given encoder.

Parameters

encoder

Encoder

Encoder to write data to.

KeySource​

Properties

fromAsset​

fromFile​

fromString​

static let `default`​

Default settings.

Lane​

Properties

left​

Left lane.

center​

Middle lane.

right​

Right lane.

LanesControlImage​

Properties

dotsLeft​

Dots on the left side.

dotsRight​

Dots on the right side.

nonInformation​

No appropriate icon to display the maneuver.

separator​

prohibited_0​

Traffic prohibited, no highlight.

prohibited_1​

Traffic prohibited, highlighted.

publicTransport_0​

Public traffic lane, no highlight.

publicTransport_1​

Public traffic lane, highlighted.

left_0​

Left, no highlight.

left_1​

Left, highlighted.

left_Right_0_0​

Combined maneuver - left or right, no highlight.

left_Right_0_1​

Combined maneuver - left or right, right is highlighted.

left_Right_1_0​

Combined maneuver - left or right, left is highlighted.

left_Right_1_1​

Combined maneuver - left or right, both are highlighted.

left_SlightlyLeft_0_0​

Combined maneuver - left or slightly left, no highlight.

left_SlightlyLeft_0_1​

Combined maneuver - left or slightly left, slightly left is highlighted.

left_SlightlyLeft_1_0​

Combined maneuver - left or slightly left, left is highlighted.

left_SlightlyLeft_1_1​

Combined maneuver - left or slightly left, both are highlighted.

left_SlightlyRight_0_0​

Combined maneuver - left or slightly right, no highlight.

left_SlightlyRight_0_1​

Combined maneuver - left or slightly right, slightly right is highlighted.

left_SlightlyRight_1_0​

Combined maneuver - left or slightly right, right is highlighted.

left_SlightlyRight_1_1​

Combined maneuver - left or slightly right, both are highlighted.

left_Forward_0_0​

Combined maneuver - left or right, no highlight.

left_Forward_0_1​

Combined maneuver - left or straight ahead, straight ahead is highlighted.

left_Forward_1_0​

Combined maneuver - left or straight, left is highlighted.

left_Forward_1_1​

Combined maneuver - left or straight, both are highlighted.

left_Forward_Right_0_0_0​

Combined maneuver - left, straight ahead or right, no highlight.

left_Forward_Right_0_0_1​

Combined maneuver - left, straight ahead or right, right is highlighted.

left_Forward_Right_0_1_0​

Combined maneuver - left, straight ahead or right, straight ahead is highlighted.

left_Forward_Right_1_0_0​

Combined maneuver - left, straight ahead or right, left is highlighted.

left_Forward_Right_1_1_1​

Combined maneuver - left, straight ahead or right, all options are highlighted.

rightWithLeftTurn_0​

Right with left turn, no highlight.

rightWithLeftTurn_1​

Right with left turn, highlighted.

right_0​

Right, no highlight.

right_1​

Right, highlighted.

right_SharplyRight_0_0​

Combined maneuver - right or sharply right, no highlight.

right_SharplyRight_0_1​

Combined maneuver - right or sharply right, sharply right is highlighted.

right_SharplyRight_1_0​

Combined maneuver - right or sharply right, right is highlighted.

right_SharplyRight_1_1​

Combined maneuver - right or shaply right, both are highlighted.

sharplyLeft_0​

Shaply left, no highlight.

sharplyLeft_1​

Sharply left, highlighted.

sharplyLeft_Left_0_0​

Combined maneuver - sharply left or left, no highlight

sharplyLeft_Left_0_1​

Combined maneuver - sharply left or left, left is highlighted.

sharplyLeft_Left_1_0​

Combined maneuver - sharply left or left, sharply left is highlighted.

sharplyLeft_Left_1_1​

Combined maneuver - sharply left or left, both are highlighted.

sharplyLeft_SlightlyLeft_0_0​

Combined maneuver - sharply left or slightly left, no highlight.

sharplyLeft_SlightlyLeft_0_1​

Combined maneuver - sharply left or slightly left, slightly left is highlighted.

sharplyLeft_SlightlyLeft_1_0​

Combined maneuver - sharply left or slightly left, sharply left is highlighted.

sharplyLeft_SlightlyLeft_1_1​

Combined maneuver - sharply left or slightly left, both are highlighted.

sharplyLeft_SlightlyRight_0_0​

Combined maneuver - sharply left or slightly right, no highlight.

sharplyLeft_SlightlyRight_0_1​

Combined maneuver - sharply left or slightly right, slightly right is highlighted.

sharplyLeft_SlightlyRight_1_0​

Combined maneuver - sharply left or slightly right, sharply left are highlighted.

sharplyLeft_SlightlyRight_1_1​

Combined maneuver - sharply left or slightly right, both are highlighted.

sharplyLeft_Forward_0_0​

Combined maneuver - sharply left or straight ahead, no highlight.

sharplyLeft_Forward_0_1​

Combined maneuver - sharply left or straight ahead, straight ahead is highlighted.

sharplyLeft_Forward_1_0​

Combined maneuver - sharply left or straight ahead, sharply left is highlighted.

sharplyLeft_Forward_1_1​

Combined maneuver - sharply left or straight ahead, both are highlighted.

sharplyRight_0​

Sharply right, no highlight.

sharplyRight_1​

Sharply to the right, highlighted.

slightlyLeft_0​

Slightly left, no highlight.

slightlyLeft_1​

Slightly left, highlighted.

slightlyLeft_Right_0_0​

Combined maneuver - slightly left or right, no highlight.

slightlyLeft_Right_0_1​

Combined maneuver - slightly left or right, right is highlighted.

slightlyLeft_Right_1_0​

Combined maneuver - slightly left or right, slightly left is highlighted.

slightlyLeft_Right_1_1​

Combined maneuver - slightly left or right, both highlighted.

slightlyLeft_SharplyRight_0_0​

Combined maneuver - slightly left or sharply right, no highlight.

slightlyLeft_SharplyRight_0_1​

Combined maneuver - slightly left or sharply right, sharply right is highlighted.

slightlyLeft_SharplyRight_1_0​

Combined maneuver - slightly left or sharply right, slightly left is highlighted.

slightlyLeft_SharplyRight_1_1​

Combined maneuver - slightly left or sharply to right, both are highlighted.

slightlyLeft_SlightlyRight_0_0​

Combined maneuver - slightly left or slightly right, no highlight.

slightlyLeft_SlightlyRight_0_1​

Combined maneuver - slightly left or slightly right, slightly right is highlighted.

slightlyLeft_SlightlyRight_1_0​

Combined maneuver - slightly left or slightly right, slightly left is highlighted.

slightlyLeft_SlightlyRight_1_1​

Combined maneuver - slightly left or slightly right, both are highlighted.

slightlyLeft_Forward_0_0​

Combined maneuver - slightly left or slightly right, no highlight.

slightlyLeft_Forward_0_1​

Combined maneuver - slightly left or straight ahead, straight ahead is highlighted.

slightlyLeft_Forward_1_0​

Combined maneuver - slightly left or straight ahead, slightly left is highlighted.

slightlyLeft_Forward_1_1​

Combined maneuver - slightly left or straight ahead, both are highlighted.

slightlyRight_0​

Slightly right, no highlight.

slightlyRight_1​

Slightly right, highlighted.

slightlyRight_Right_0_0​

Combined maneuver - slightly right or right, no highlight.

slightlyRight_Right_0_1​

Combined maneuver - slightly right or right, right is highlighted.

slightlyRight_Right_1_0​

Combined maneuver - slightly right or right, slightly right is highlighted.

slightlyRight_Right_1_1​

Combined maneuver - slightly right or right, both are highlighted.

slightlyRight_SharplyRight_0_0​

Combined maneuver - slightly right or sharply right, no highlight.

slightlyRight_SharplyRight_0_1​

Combined maneuver - slightly right or sharply right, sharply right is highlighted.

slightlyRight_SharplyRight_1_0​

Combined maneuver - slightly right or sharply right, slightly right is highlighted.

slightlyRight_SharplyRight_1_1​

Combined maneuver - slightly right or sharply right, both are highlighted.

forward_0​

Straight ahead, no highlight.

forward_1​

Straight ahead, highlighted.

forward_RightWithLeftTurn_0_0​

Combined maneuver - straight ahead or right with left turn, no highlight.

forward_RightWithLeftTurn_0_1​

Combined maneuver - straight ahead or right with left turn, right with left turn is highlighted.

forward_RightWithLeftTurn_1_0​

Combined maneuver - straight ahead or right with left turn, straight ahead is highlighted.

forward_RightWithLeftTurn_1_1​

Combined maneuver - straight ahead or right with left turn, both are highlighted.

forward_Right_0_0​

Combined maneuver - straight ahead or right, no highlight.

forward_Right_0_1​

Combined maneuver - straight ahead or right, right is highlighted.

forward_Right_1_0​

Combined maneuver - straight ahead or right, straight ahead is highlighted.

forward_Right_1_1​

Combined maneuver - straight ahead or right, both are highlighted.

forward_SharplyRight_0_0​

Combined maneuver - straight ahead or sharply right, no highlight.

forward_SharplyRight_0_1​

Combined maneuver - straight ahead or sharply right, sharply right is highlighted.

forward_SharplyRight_1_0​

Combined maneuver - straight ahead or sharply right, straight ahead is highlighted.

forward_SharplyRight_1_1​

Combined maneuver - straight ahead or sharply right, both are highlighted.

forward_SlightlyRight_0_0​

Combined maneuver - straight ahead or slightly right, no highlight.

forward_SlightlyRight_0_1​

Combined maneuver - straight ahead or slightly right, slightly right is highlighted.

forward_SlightlyRight_1_0​

Combined maneuver - straight ahead or slightly right, slightly right is highlighted.

forward_SlightlyRight_1_1​

Combined maneuver - straight ahead or slightly right, both are highlighted.

turnover_0​

U-turn, no highlight.

turnover_1​

U-turn, highlighted.

LocationQuality​

Properties

accurate​

Accurate geolocation.

degraded​

Inaccurate geolocation.

LogLevel​

MapAppearance​

Properties

`default`​

Uses default theme.

universal​

Uses a single current style theme in any environment.

automatic​

Uses an automatically switched light and dark theme. The automatic switching is done according to the environment change: see UITraitEnvironment and UIView.traitCollection. Available for iOS versions 13 or higher. For iOS 12, the default theme is used.

var description​

Textual representation of this instance.

var defaultBackgroundColor​

Default backgroud color depending of the system theme.

MapDataLoadingState​

Properties

loading​

Data is being loaded and will probably be added later.

loaded​

The data is loaded.

MapRotationDirection​

Properties

clockwise​

Map rotation clockwise.

counterclockwise​

Map rotation counterclockwise.

MapScalingDirection​

Properties

zoomIn​

Increases zoom, i.e. magnifying objects.

zoomOut​

Decreases zoom, i.e. decreasing objects.

MapShiftDirection​

MapVisibilityState​

Properties

visible​

Map is fully visible.

hidden​

Map is completely hidden from the user.

ModelSize​

Properties

logicalPixel​

scale​

MotorcycleBriefRouteInfoTrafficSpeed​

MyLocationMapObjectMarkerType​

Properties

model​

Use standard models from styles. No customization available.

svgIcon​

Use SVG icons. You can change the icon in the styles editor in the following layers: s_dvg_foot_gps_marker_with_direction, s_dvg_foot_gps_marker2, s_dvg_foot_gps_marker_degraded2

Properties

Visible during active navigation, see Model.navigationActive.

Properties
Properties

Tracking disabled.

Position control.

Position and rotation control.

Position, rotation, and zoom control.

NearestPlatformTransitionType​

Properties

direct​

Direct transition between stations.

underground​

Underground crossing.

ground​

ObjectType​

Properties

admDiv​

Administrative unit.

admDivCity​

admDivCountry​

Country/state.

admDivDistrict​

District (of a city).

admDivDistrictArea​

Region or province district.

admDivDivision​

Division.

admDivLivingArea​

Living area.

admDivPlace​

Miscellaneous polygon objects: parks, beaches, recreation facilities, lakes, and other places.

admDivRegion​

Region/province.

admDivSettlement​

Settlement (village).

attraction​

Sightseeing attraction.

branch​

Branch of an organization.

building​

Building.

coordinates​

Global coordinates.

crossroad​

Intersection.

gate​

Gate/passage.

kilometerRoadSign​

Kilometer marker.

parking​

Parking.

road​

route​

Public transportation route.

station​

stationEntrance​

Station entrance.

stationMetro​

Metro station.

stationPlatform​

Station platform.

street​

Street.

unknown​

In case of an unexpected type.

Obstacle​

Properties

other​

Other.

barrier​

Barrier.

gate​

tourniquet​

Tourniquet.

wicket​

Wicket.

ObstaclePassLimitation​

Properties

unlimited​

Unrestricted obstacle.

paid​

Passing through the obstacle is tolled.

passRequired​

A pass is required to pass through the obstacle.

OpenStatus​

Properties

PackageInfoError​

Properties

noNetwork​

Network connection is missing.

noFreeSpace​

No storage space left on the device to download and/or install a package.

downloadError​

Loading error.

PackageUpdateStatus​

Properties

notAvailable​

There is no newer version available for the package.

inProgress​

Package is in the process of installing or upgrading to a newer version available.

paused​

The process of upgrading the package to a newer version available is not running or has been suspended.

ParkingAccess​

Properties

`public`​

handicappedOnly​

For handicapped only.

customersOnly​

For customers only.

residentsOnly​

For residents only.

taxiOnly​

Parking space for taxi.

ParkingPavingType​

Properties

asphalt​

Asphalt surface.

concrete​

Concrete surface.

gravel​

Gravel surface

unpaved​

ParkingPurpose​

Properties

car​

bike​

For bicycles.

motorbike​

For motorcycles/mopeds.

babyCarriage​

For strollers.

scooter​

For scooters.

ParkingType​

Properties

ground​

On-ground parking.

underground​

Underground parking.

multilevel​

Multi-level parking.

PedestrianInstructionCrossroadLandmark​

PedestrianInstructionCrossroadManeuverDirection​

PedestrianInstructionIndoorFloorChangeType​

Properties

granted​

denied​

User does not agree.

PointGeometryData​

Properties

geoPoint​

geoPointWithElevation​

PresentationSnap​

Methods
public func getHeight(maxHeight: CGFloat) -> CGFloat
Parameters

maxHeight

Returns

PublicTransportRouteDirectionType​

Properties

forward​

backward​

additional​

circular​

Circular route with the end stop.

loop​

Closed route without the end stop.

PublicTransportRouteType​

Properties

bus​

trolleybus​

tram​

shuttleBus​

metro​

suburbanTrain​

Suburban electric train.

funicularRailway​

monorail​

riverTransport​

Water transport.

cableCar​

lightRail​

premetro​

lightMetro​

aeroexpress​

PublicTransportSchedule​

Properties

PublicTransportType​

Properties

bus​

trolleybus​

tram​

shuttleBus​

metro​

suburbanTrain​

Suburban train.

funicularRailway​

monorail​

waterwayTransport​

Water transport.

cableCar​

speedTram​

High-speed tram.

premetro​

Underground tram.

lightMetro​

aeroexpress​

moscowCentralRing​

Moscow Central Ring.

moscowCentralDiameters​

Moscow Central Diameters.

Range​

Properties

borders​

orderedValues​

RasterUrlTemplate​

Properties

RoadEventActionState​

Properties

RoadEventActionType​

Properties

like​

Adds the 'like' mark.

dislike​

Adds the "dislike" mark.

confirmation​

Event confirmation.

disproof​

Refutation of event.

RoadEventDisplayCategory​

Properties

camera​

Cameras of all types, including those added by the user.

comment​

Comments on the roads.

accident​

Traffic accident.

roadRestriction​

roadWorks​

other​

Events in the Other category.

user​

Always displays events created by the current user, regardless of their category.

RoadEventType​

Properties

accident​

Traffic accident.

roadWorks​

Road works.

camera​

comment​

roadRestriction​

Traffic closure.

other​

Other event.

RoadRule​

Properties

unknown​

Unknown.

rightHandTraffic​

Right-hand driving.

leftHandTraffic​

Right-hand driving.

RoadSubtype​

Properties

none​

No additional description to the road type.

archway​

bridge​

crosswalk​

Pedestrian crossing.

footbridge​

Pedestrian bridge.

ford​

indoor​

overgroundCrossing​

Overpass.

parkFootpath​

Park path.

parkPath​

Parkway.

residentialArea​

Residential area.

stairwayUp​

Stairway going upwards.

stairwayDown​

Stairway going downwards.

subwayCrossing​

Subway crossing.

tunnel​

underpass​

Underpass.

rampDown​

Downward ramp.

rampUp​

Upward ramp.

smoothRampDown​

Smooth downward ramp.

smoothRampUp​

Smooth upward ramp.

RoadSurface​

Properties

unknown​

Unknown.

asphalt​

Asphalt.

gravel​

ground​

concrete​

Concrete.

RoadType​

Properties

unknown​

Unknown.

walkway​

Pedestrian path or a section of road where pedestrian traffic is allowed.

bikeway​

Bicycle lane or section of road where bicycles are permitted.

pathway​

Roadway of minimal importance.

fieldForestRoad​

Field or forest road.

serviceRoad​

Access road/intra-block driveway.

otherStreetRoad​

Road that passes through other streets of a settlement.

mainStreetRoad​

Roadway running through the main streets of a settlement.

highway​

Highway.

intercityRoad​

'Intercity highway'.

federalRoad​

Road of federal importance.

RouteCameraDirection​

Properties

against​

Against the traffic direction.

along​

Along the traffic direction (to the back).

both​

Bi-directional camera.

RouteCameraPurpose​

Properties

speedControl​

Recording of exceeding the speed limit.

trafficLightsControl​

Recording of passing at the forbidden signal of traffic lights.

stopLineControl​

Recording of driving over the stop line, driving without stopping the stop sign, driving to the intersection during a jam.

publicTransportLaneControl​

Recording of movement on the dedicated lane for public transport.

oncomingTrafficLaneControl​

Recording driving in the oncoming lane.

pedestrianAdvantageControl​

Recording of failure to give preference to pedestrians.

laneDisciplineControl​

Recording of violation of lane rotation at the intersection.

roadMarkingsCrossingControl​

Recording of crossing the solid line of road markings, driving on the side of the road.

averageSpeedControl​

Recording of exceeding the average speed on the section.

noStoppingControl​

Recording of violation of prohibition of stopping.

dummy​

platon​

“Platon” system camera: https://platon.ru/en/about/

RouteExitSignTableColor​

Properties

RouteExitSignType​

Properties

undefined​

airport​

Exit to the airport.

RouteLaneManeuver​

Properties

undefined​

forward​

Straight ahead.

right​

To the right.

left​

To the left.

slightlyRight​

Slightly to the right.

slightlyLeft​

Slightly to the left.

sharplyRight​

Sharply to the right.

sharplyLeft​

Sharply to the left.

rightWithLeftTurns​

To the right, then to the left.

turnover​

RouteMapObjectCalloutLabelDisplayMode​

Properties

absoluteValues​

Travel time and/or route length are displayed in absolute values (e.g. N km, M min).

relativeToActiveRouteValues​

Travel time and/or route length are displayed in absolute values only for the active route. For inactive routes, the difference from the corresponding value of the active route is displayed (e.g. +/-N km, +/-M min). If there is no active route or if there is more than one active route on the map, the travel time and/or route length are displayed in absolute values for all routes.

RouteMapObjectCalloutLabelFlag​

Properties

duration​

Time of travel along the route.

length​

RouteMapObjectDisplayFlag​

Properties

routeParts​

startPoint​

Starting point of the route.

finishPoint​

Finish point of the route.

intermediatePoints​

Intermediate waypoints.

transportConnectionPoints​

Connection points of route segments (except for routes on public transport). For example, a point at the junction point of a pedestrian and automobile segment.

maneuvers​

cameras​

humps​

Artificial bumps.

barriers​

gates​

stairways​

publicTransportPlatforms​

Public transport stops.

accidents​

Traffic accident.

roadWorks​

comments​

roadRestrictions​

Traffic closures.

otherEvents​

tollRoads​

Start and end of toll road.

lanesBubbles​

Lane bubbles (displayed only in source with navigation mode).

bubbles​

Lane bubbles with travel time and route length.

indoorInstructions​

Instructions in buildings. Move by elevator, escalator, etc.

inactiveFloors​

Shows parts of the route inside buildings not just for the active floor.

trafficLights​

Highlight traffic lights on the route.

immersiveRouteParts​

Use immersive geometry for route parts (used together with RouteParts).

crossing​

Start and end of a crossing.

RouteMapObjectPassedDistanceVisualization​

Properties

showRemainingRoutePart​

Shows only the rest of the route - from the passed distance to the finish.

showPassedRoutePart​

Shows only the passed part of the route - from the start to the passed distance.

showWholeRoute​

Shows the entire route regardless of the distance traveled along it.

RouteMapObjectPermanentDisplayFlag​

Properties

startPoint​

Starting point of the route.

finishPoint​

Finish point of the route.

intermediatePoints​

Intermediate waypoints.

cameras​

accidents​

roadWorks​

comments​

roadRestrictions​

otherEvents​

tollRoads​

Start and end of toll road.

RoutePointKind​

Properties

start​

Starting point of the route.

finish​

Finish point of the route.

intermediate​

Intermediate point of the route.

camera​

accident​

Traffic accident.

roadWork​

Road works.

comment​

roadRestriction​

Traffic closure.

otherEvent​

Other event.

tollRoad​

Start and end of toll road.

transportConnectionPoint​

Point of connection of route segments (except public transport routes). For example, the point at the connection of a pedestrian and car segment.

hump​

Speed bump.

gate​

Gate or barrier.

barrier​

Road closure.

stairway​

indoorInstruction​

Instructions in a building. Moving by elevator, escalator, etc.

badRoad​

publicTransportPlatform​

Public transport platform.

ground​

Beginning and end of a dirt road.

gravel​

Beginning and end of gravel coverage.

carRoad​

Beginning and end of the motorized section of road (for bicycle/scooter routes).

bicycleRoad​

Beginning and end of a bicycle track.

bicycleLane​

Beginning and end of a cycle lane.

trafficLight​

Traffic lights.

crossing​

Start and end of a crossing.

RouterErrorCode​

Properties

invalidArgument​

Invalid argument is passed.

noData​

Regional data for the offline route search engine or the macrograph is missing.

startAndFinishTooFar​

Route cannot be built because the start and end points are too far from each other.

startAndFinishTooClose​

Route cannot be built because the start and end points are too close to each other.

searchBetweenRegionsUnsupported​

Searching between regions is not supported for the offline route search engine if the macrograph is missing.

searchForRoutingTypeUnsupported​

Searching for the selected transport type is not supported for the offline route search engine, or searching for public transport is not supported in the global project for the online search engine.

internalError​

Internal error of the route search engine.

networkError​

Internet connection issue for the online route search engine.

RouterErrorSource​

Properties

onlineRouter​

Error of the online route search engine.

offlineRouter​

Error of the offline route search engine.

hybridRouter​

Error of the combined route search engine, which performs online search with fallback to offline search in case of an error.

RouterType​

Properties

online​

Online search engine for routes.

offline​

Offline search engine for routes.

hybrid​

Hybrid (online/offline) search engine for routes.

RouteSearchOptions​

RouteSearchType​

Properties

jam​

Route search with current traffic data.

statistic​

Route search with statistical traffic data.

shortest​

Search for the shortest route.

RouteTollPaymentPointType​

Properties

unknown​

Unknown type of payment on a toll road.

prePayment​

Advance payment on a toll road.

postPayment​

Post-payment on a toll road.

RouteVisualizationType​

Properties

normal​

Standard visualization - used in the route editor.

navigation​

Visualization for navigation mode - used in the navigator.

ScooterInstructionCrossroadLandmark​

Properties

ScooterInstructionCrossroadManeuverDirection​

SearchHistoryFilter​

SearchHistoryItem​

Properties

SearchResultType​

Properties

recovery​

Specific object found by the query.

discovery​

Heading found by the query. The results contain a list of objects from that heading.

Settlement​

Properties

unknown​

Information about the settlement is unknown.

inside​

Inside the settlement.

outside​

Outside the settlement.

SimulationSpeedMode​

SortingType​

Properties

byRelevance​

By relevance. Used by default.

byDistance​

By distance from the user's current position.

byRating​

By rating.

SoundCategory​

Properties

crossroadCameras​

Intersection control cameras.

laneCameras​

Cameras recording traffic in the dedicated lane for public transport.

noStoppingControlCameras​

Stop control cameras.

roadMarkingCameras​

Traffic lane cameras.

averageSpeedCameras​

Average speed cameras.

maxSpeedCameras​

Instant speed cameras.

accidents​

Accidents.

roadWorks​

Road works.

tolls​

Toll roads.

exceedSpeedLimits​

Violations of maximum permitted speed.

intermediatePoints​

Intermediate points on the route.

routeRebuild​

Route is rebuilt.

instructions​

Instructions (maneuvers) on route.

obstacles​

Obstacles.

roadSubtypes​

Road subtypes.

lostLocation​

Lost GPS signal.

routeEnd​

Route completion.

betterRoute​

"Better route".

humps​

Speed bumps.

SpecialSpaceType​

Properties

bicycle​

For bicycles.

motorbike​

For motorcycles.

family​

For families.

handicapped​

For handicapped people.

babyCarriage​

For strollers.

truck​

For trucks.

scooter​

For scooters.

SpeedFormattingStrategy​

State​

Properties

disabled​

Not active (initial state, goes to it after the Stop method is called).

navigation​

Route guidance mode.

Searching for a new route.

finished​

Reaching end point.

StatusType​

Properties

available​

Available.

charging​

reserved​

Reserved.

unavailable​

Not working.

unknown​

Unknown.

SuggestedType​

Properties

admDivCity​

admDivCountry​

Country/state.

admDivDistrict​

District (of a city).

admDivDistrictArea​

Region or province district.

admDivDivision​

Division.

admDivLivingArea​

Living area.

admDivPlace​

Miscellaneous polygon objects: parks, beaches, recreation facilities, lakes, and other places.

admDivRegion​

Region/province.

admDivSettlement​

Settlement (village).

attraction​

Sightseeing attraction.

attribute​

Additional attribute.

branch​

Branch of an organization.

building​

Building.

coordinates​

Global coordinates.

crossroad​

Intersection.

kilometerRoadSign​

Kilometer marker.

marketAttribute​

Names of goods.

marketBrand​

Goods brand.

marketCategory​

Category of goods. Requires market.suggestor_category.

marketSuggestorCategory​

Required to expand the goods categories.

metaRubric​

Metacategory.

org​

Organization.

parking​

road​

route​

Public transportation route.

routeType​

Route type.

rubric​

Category.

station​

stationEntrance​

Station entrance.

stationMetro​

Metro station.

street​

text​

Text hint.

unknown​

In case of an unexpected type.

SuggestHandler​

Properties

objectHandler​

performSearchHandler​

incompleteTextHandler​

SuggestorType​

Properties

address​

Address suggestor.

citySelector​

Settlement suggestor. Can be used without specifying a project.

object​

Directory object (categories, branches, streets, cities, etc.) suggestor.

places​

Place suggestor.

routeEndpoint​

A tooltip for selecting waypoints. Optimized for searching for point objects in a single action. Rejects objects without points.

rubric​

Category suggestor.

TextHorizontalAlignment​

Properties

auto​

Aligns the text automatically.

center​

Center the text.

left​

Left-align the text.

right​

Right-align the text.

TextPlacement​

Properties

noLabel​

No caption.

bottomCenter​

At the center of the area below the square around the marker.

bottomRight​

On the right side of the area below the square around the marker.

bottomLeft​

On the left side of the area below the square around the marker.

circleBottomRight​

At the bottom right of the area relative to the circle around the marker.

rightBottom​

Bottom of the area to the right of the square around the marker.

rightCenter​

At the center of the area to the right of the square around the marker.

rightTop​

Above the area to the right of the square around the marker.

circleTopRight​

Top right area relative to the circle around the marker.

topCenter​

At the center of the area above the square around the marker.

topRight​

Right side of the area above the square around the marker.

topLeft​

Left side of the area above the square around the marker.

circleTopLeft​

Top left of area relative to the circle around the marker.

leftTop​

Above the area to the left of the square around the marker.

leftCenter​

At the center of the area to the left of the square around the marker.

leftBottom​

Bottom of area to the left of the square around the marker.

circleBottomLeft​

Bottom left area relative to the circle around the marker.

centerCenter​

Center of the square around the marker.

ThermometerEventsPosition​

Properties

left​

Events are displayed on the left.

right​

Events are displayed on the right.

TimeFormattingStrategy​

TrafficControlStatus​

Properties

hidden​

Control is hidden. Appears when there is no traffic information in the region.

enabled​

Control is active. Appears when the data on traffic jams is up to date, and there is a layer of traffic jams on the map.

disabled​

Control in inactive state. Appears when there is no traffic jams layer on the map.

loading​

Load indicator. Appears when the data on traffic jams in the inactive state, and there is a layer of traffic jams on the map.

TrafficScoreState​

Properties

pending​

Value unknown, will be requested later. Initial state.

valid​

Value is current.

expired​

Value is outdated. The state is reached if the data could not be updated within a certain time.

TrafficSpeedColor​

TransformGesture​

TransportMode​

TransportType​

Properties

unknown​

Unknown how to traverse this section of the route and it may not be passable.

bicycle​

car​

motorcycle​

Motorcycle.

pedestrian​

Pedestrian.

`public`​

Public transport.

scooter​

TraversalType​

Properties

clockwise​

Clockwise.

counterClockwise​

Counterclockwise.

VendorConfig​

Properties

VoicePermissionState​

VoiceRecognitionResult​

VoiceRecognitionState​

WeekDay​

public static func < (lhs: WeekDay, rhs: WeekDay) -> Bool

Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.

Properties

sunday​

monday​

tuesday​

wednesday​

thursday​

friday​

saturday​

WidgetType​

Properties

checkbox​

Single checkbox.

checkableItemGroup​

Group of elements where each one can be checked independently or grouped into

range​

Representation of a continuous or discrete set of ordered values.

WorkTimeFilter​

Properties

ZoomControlButton​