enumeration
ActionResult
Type of action result.
AddEventError
Error type of adding a traffic event.
NETWORK_ERROR
Network error.
TERRITORY_NOT_SUPPORTED
Attempt to add event outside 2GIS projects.
UNKNOWN_USER_LOCATION
User current position is unknown. Traffic events can only be added with a known position.
USER_LOCATION_TOO_FAR_FROM_EVENT
User is too far from the place of the added event.
NOT_AUTHORIZED
Attempt to add an anonymous event in a territory where user authorization is required.
NO_PERSONAL_DATA_COLLECTION_CONSENT
User has declined collecting and sending personal data.
USER_BLOCKED
User is blocked.
TOO_MANY_REQUESTS
User creates events too often.
Alignment
AnimationMode
Animation mode.
AudioFocusPolicy
Application policy on playing sounds of other applications while playing sounds in our application.
AuthorType
Content author category.
BearingSource
Source of the direction.
BetterRouteResponse
User response to an alternative route suggestion.
BicycleInstructionCrossroadLandmark
Landmark.
BicycleInstructionCrossroadManeuverDirection
Direction of movement.
CalloutVisualizationMode
Display mode for route callouts with time and length. Unlike DisplayFlag, affects not only the display, but also the calculation of callouts positions for each individual route object. See IRouteMapObject::display_flags.\nSee IRouteMapObject::callout_position.
ALWAYS
Show callouts (taking DisplayFlag into account) and calculate positions for them if at least one route is added to the source.
MULTIPLE_ROUTES
Show callouts (taking DisplayFlag into account) and calculate positions for them only if more than one route object is added to the source.
NONE
Do not show callouts and do not calculate their positions.
CameraAnimatedMoveReason
Reason for animated camera movement.
CameraAnimatedMoveResult
Result of moving the camera.
FINISHED
Moving the camera position is completed when the finish point is reached.
CANCELLED_BY_EVENT
Camera position movement is canceled by a map event (pan, zoom, etc.).
CANCELLED_BY_APPLICATION
New flyover has been launched, the position has been changed (explicitly or indirectly through ICamera::set_position_point() or ICamera::set_padding()) or the tracking mode has been changed.
CameraAnimationType
Type of flyover.
DEFAULT
Type of flyover is selected depending on the distance between the start and end positions.
LINEAR
Linear change of camera position parameters.
SHOW_BOTH_POSITIONS
Zoom changes to try and display the staring and finishing positions at some point during flyover. Positions may not be displayed if the current restrictions (see ICamera::zoom_restrictions()) do not allow such a small zoom to be set.
CameraBehaviourChangeReason
Reason for changing the follow mode of the camera.
APPLICATION
Mode switching by the application, setting position (explicitly or indirectly through ICamera::set_position_point()), start of the flyover.
EVENT
Follow mode has changed due to a map event. Depending on the event, the follow mode for position, pan, tilt, or zoom may be reset, see CameraBehaviour.
CameraFollowState
State of the camera following the user current location.
CameraPurpose
Camera purpose.
SPEED_CONTROL
Detection of exceeding the speed limit.
AVERAGE_SPEED_CONTROL
Detection of exceeding the average speed limit in the area.
PUBLIC_TRANSPORT_LANE_MOVEMENT_CONTROL
Decetion of moving on a dedicated lane for public transport.
ROAD_MARKINGS_CROSSING_CONTROL
Detection of crossing a solid marking line, moving along the edge of the road.
TRAFFIC_LIGHTS_VIOLATION_CONTROL
Detection of the passage to a prohibiting signal of the traffic light.
STOP_LINE_CROSSING_CONTROL
Detection of crossing the stop line, passage without stopping at the "Stop" sign, exit to the intersection during a traffic jam.
ONCOMING_TRAFFIC_LANE_MOVEMENT_CONTROL
Detection of moving in the oncoming lane.
PEDESTRIAN_ADVANTAGE_VIOLATION_CONTROL
Detection of not giving priority to pedestrians.
LANE_DISCIPLINE_CONTROL
Detection of violating the lane regulations during the turn at the intersection.
NO_STOPPING_VIOLATION_CONTROL
Detection of violationg stop prohibition.
DUMMY
Dummy.
TRUCK
Camera of the "Platon" system, restriction control camera for trucks.
CameraState
Camera state.
CarBriefRouteInfoTrafficSpeed
Traffic speed.
CarInstructionCrossroadDirection
Direction of movement at the intersection.
CarInstructionCrossroadLandmark
Landmark.
NONE
No landmark.
TUNNEL_BEFORE
In front of the tunnel.
TUNNEL_ENTRY
Entrance to the tunnel.
BRIDGE_BEFORE
In front of the bridge.
BRIDGE_ENTRY
Entrance to the bridge.
ARCHWAY_ENTRY
Entrance into the arch.
ON_TRAFFIC_LIGHT
At the traffic lights.
COURTYARD_ENTRY
Entrance to the yard.
CarInstructionRoundaboutType
Type of maneuver at a roundabout.
CheckableItemType
The type of element to be checked.
CopyrightInsetsSide
DesiredAccuracy
Expected accuracy of location detection.
LOW
Location accuracy is low. The most suitable mode for determining the current city/area. This mode is characterized by low power consumption. In this mode, the device can either rely solely on networks (Wi-Fi, 3GPP, IP), or use GNSS -receiver in low power mode (with geolocation caching for a long time).
MEDIUM
Location accuracy provided by a standard GNSS receiver. The most suitable mode for displaying the current location on a map. If a GNSS receiver is installed on the device and the satellites are in the field of view, then satellite data is used to determine the location. Otherwise Alternate location sources are used.
HIGH
Location accuracy provided by a standard GNSS receiver and possibly improved with additional tools. The most suitable mode for route guidance. Similar to Medium mode, but the GNSS receiver can be set to a higher accuracy mode, or can be used to refine the location additional sensors. May consume a lot of power (device in this mode is usually connected to a power source).
DgisSourceWorkingMode
Sets the mode of operation for the IDgisSource data source.
ONLINE
Obtains data from 2GIS servers.
OFFLINE
Uses preloaded data in work.
HYBRID_ONLINE_FIRST
Hybrid mode where data from the 2GIS servers is prioritized. Preloaded data is used if data cannot be obtained from the servers for some reason or if preloaded data matches the data from the servers.
HYBRID_OFFLINE_FIRST
Hybrid mode where preloaded data is prioritized. Data from the 2GIS servers is used if preloaded data is not available.
ExcludedAreaSeverity
Priority of excluding the area.
ExcludedAreaType
Type of the excluded area.
POINT
Excluded area is a circle with the center at the first point of points and radius equal to extent. There should be exactly one point in points, otherwise the request fails.
POLYLINE
Excluded area is a polyline with a width equal to extent (points are vertices of the line).
POLYGON
Excluded area is a polygon with vertices at its points. In addition, there is a padding from extent on the sides of the polygon.
FilterType
Filter type.
FollowBearing
FollowStyleZoom
FollowTilt
FollowValue
FormattingType
Requirement for the length of the string representation of the address.
GeometryKind
Gesture
GraphicsApi
OPEN_GL
Legacy API, available on all devices.
VULKAN
Next-generation API that provides better performance. If not available, OpenGL is used instead.
This option is still in development and may cause compatibility issues or instability in rendering on some devices. Extensive testing is recommended before using in production.
GraphicsPreset
Available graphic modes.
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.
HttpMethod
ImageFormat
IndoorManagerState
Display state of floor plans.
InstructionManeuver
Maneuver that must be performed to move along the route.
NONE
No maneuver.
START
Start of movement.
FINISH
End of movement.
CROSSROAD_STRAIGHT
Go through the intersection straight ahead.
CROSSROAD_SLIGHTLY_LEFT
Go through the intersection slightly to the left.
CROSSROAD_LEFT
Go through the intersection to the left.
CROSSROAD_SHARPLY_LEFT
Go through the intersection sharply to the left.
CROSSROAD_SLIGHTLY_RIGHT
Go through the intersection slightly to the right.
CROSSROAD_RIGHT
Go through the intersection to the right.
CROSSROAD_SHARPLY_RIGHT
Go through the intersection sharply to the right.
CROSSROAD_KEEP_LEFT
Go through the intersection - keep left.
CROSSROAD_KEEP_RIGHT
Go through the intersection - keep right.
CROSSROAD_UTURN
U-turn at the intersection.
ROUNDABOUT_FORWARD
Go through the roundabout straight ahead.
ROUNDABOUT_LEFT_45
Go through the roundabout slightly to the left.
ROUNDABOUT_LEFT_90
Go through the roundabout to the left.
ROUNDABOUT_LEFT_135
Go through the roundabout sharply to the left.
ROUNDABOUT_RIGHT_45
Go through the roundabout slightly to the right.
ROUNDABOUT_RIGHT_90
Go through the roundabout to the right.
ROUNDABOUT_RIGHT_135
Go through the roundabout sharply to the right.
ROUNDABOUT_BACKWARD
Go through the roundabout to the opposite direction.
ROUNDABOUT_EXIT
Exit from the roundabout.
UTURN
U-turn.
ROAD_CROSSING
Composite maneuver at an intersection (for example, crossing two roads at an intersection for a pedestrian route)
Lane
Lane affected by the traffic event.
LanesControlImage
Presents the maneuver icon in the navigator UI.
DOTS_LEFT
Ellipsis on the left side.
DOTS_RIGHT
Ellipsis on the right side.
NON_INFORMATION
No suitable icon to display the maneuver.
SEPARATOR
Delimiter.
PROHIBITED_0
Movement prohibited, no highlight.
PROHIBITED_1
Movement prohibited, highlighted.
PUBLIC_TRANSPORT_0
Public transport lane, no highlight.
PUBLIC_TRANSPORT_1
Public transport 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 options are highlighted.
LEFT_SLIGHTLY_LEFT_0_0
Combined maneuver - left or slightly left, no highlight.
LEFT_SLIGHTLY_LEFT_0_1
Combined maneuver - left or slightly left, slightly left is highlighted.
LEFT_SLIGHTLY_LEFT_1_0
Combined maneuver - left or slightly left, left is highlighted.
LEFT_SLIGHTLY_LEFT_1_1
Combined maneuver - left or slightly left, both options are highlighted.
LEFT_SLIGHTLY_RIGHT_0_0
Combined maneuver - left or slightly right, no highlight.
LEFT_SLIGHTLY_RIGHT_0_1
Combined maneuver - left or slightly right, slightly right is highlighted.
LEFT_SLIGHTLY_RIGHT_1_0
Combined maneuver - left or slightly right, left is highlighted.
LEFT_SLIGHTLY_RIGHT_1_1
Combined maneuver - left or slightly right, both options are highlighted.
LEFT_FORWARD_0_0
Combined maneuver - left or straight ahead, 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 ahead, left is highlighted.
LEFT_FORWARD_1_1
Combined maneuver - left or straight ahead, both options 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.
RIGHT_WITH_LEFT_TURN_0
Right with the left turn, no highlight.
RIGHT_WITH_LEFT_TURN_1
Right with the left turn, highlighted.
RIGHT_0
Right, no highlight.
RIGHT_1
Right, highlighted.
RIGHT_SHARPLY_RIGHT_0_0
Combined maneuver - right or sharply right, no highlight.
RIGHT_SHARPLY_RIGHT_0_1
Combined maneuver - right or sharply right, sharply right is highlighted.
RIGHT_SHARPLY_RIGHT_1_0
Combined maneuver - right or sharply right, right is highlighted.
RIGHT_SHARPLY_RIGHT_1_1
Combined maneuver - right or sharply right, both options are highlighted.
SHARPLY_LEFT_0
Sharply left, no highlight.
SHARPLY_LEFT_1
Sharply left, highlighted.
SHARPLY_LEFT_LEFT_0_0
Combined maneuver - sharply left or left, no highlight.
SHARPLY_LEFT_LEFT_0_1
Combined maneuver - sharply left or left, left is highlighted.
SHARPLY_LEFT_LEFT_1_0
Combined maneuver - sharply left or left, sharply left is highlighted.
SHARPLY_LEFT_LEFT_1_1
Combined maneuver - sharply left or left, both options are highlighted.
SHARPLY_LEFT_SLIGHTLY_LEFT_0_0
Combined maneuver - sharply left or slightly left, no highlight.
SHARPLY_LEFT_SLIGHTLY_LEFT_0_1
Combined maneuver - sharply left or slightly left, slightly left is highlighted.
SHARPLY_LEFT_SLIGHTLY_LEFT_1_0
Combined maneuver - sharply left or slightly left, sharply left is highlighted.
SHARPLY_LEFT_SLIGHTLY_LEFT_1_1
Combined maneuver - sharply left or slightly left, both options are highlighted.
SHARPLY_LEFT_SLIGHTLY_RIGHT_0_0
Combined maneuver - sharply left or slightly right, no highlight.
SHARPLY_LEFT_SLIGHTLY_RIGHT_0_1
Combined maneuver - sharply left or slightly right, slightly right is highlighted.
SHARPLY_LEFT_SLIGHTLY_RIGHT_1_0
Combined maneuver - sharply left or slightly right, sharply left is highlighted.
SHARPLY_LEFT_SLIGHTLY_RIGHT_1_1
Combined maneuver - sharply left or slightly right, both options are highlighted.
SHARPLY_LEFT_FORWARD_0_0
Combined maneuver - sharply left or straight ahead, no highlight.
SHARPLY_LEFT_FORWARD_0_1
Combined maneuver - sharply left or straight ahead, straight ahead is highlighted.
SHARPLY_LEFT_FORWARD_1_0
Combined maneuver - sharply left or straight ahead, sharply left is highlighted.
SHARPLY_LEFT_FORWARD_1_1
Combined maneuver - sharply left or straight ahead, both options are highlighted.
SHARPLY_RIGHT_0
Sharply right, no highlights.
SHARPLY_RIGHT_1
Sharly right, highlighted.
SLIGHTLY_LEFT_0
Slightly left, no highlight.
SLIGHTLY_LEFT_1
Slightly left, highlighted.
SLIGHTLY_LEFT_RIGHT_0_0
Combined maneuver - slightly left or right, no highlight.
SLIGHTLY_LEFT_RIGHT_0_1
Combined maneuver - slightly left or right, right is highlighted.
SLIGHTLY_LEFT_RIGHT_1_0
Combined maneuver - slightly left or right, slightly left is highlighted.
SLIGHTLY_LEFT_RIGHT_1_1
Combined maneuver - slightly left or right, both options are highlighted.
SLIGHTLY_LEFT_SHARPLY_RIGHT_0_0
Combined maneuver - slightly left or sharply right, no highlight.
SLIGHTLY_LEFT_SHARPLY_RIGHT_0_1
Combined maneuver - slightly left or sharply right, sharply right is highlighted.
SLIGHTLY_LEFT_SHARPLY_RIGHT_1_0
Combined maneuver - slightly left or sharply right, slightly left is highlighted.
SLIGHTLY_LEFT_SHARPLY_RIGHT_1_1
Combined maneuver - slightly left or sharply right, both options are highlighted.
SLIGHTLY_LEFT_SLIGHTLY_RIGHT_0_0
Combined maneuver - slightly left or slightly right, no highlight.
SLIGHTLY_LEFT_SLIGHTLY_RIGHT_0_1
Combined maneuver - slightly left or slightly right, slightly right is highlighted.
SLIGHTLY_LEFT_SLIGHTLY_RIGHT_1_0
Combined maneuver - slightly left or slightly right, slightly left is highlighted.
SLIGHTLY_LEFT_SLIGHTLY_RIGHT_1_1
Combined maneuver - slightly left or slightly right, both options are highlighted.
SLIGHTLY_LEFT_FORWARD_0_0
Combined maneuver - slightly left or straight ahead, no highlight.
SLIGHTLY_LEFT_FORWARD_0_1
Combined maneuver - slightly left or straight ahead, straight ahead is highlighted.
SLIGHTLY_LEFT_FORWARD_1_0
Combined maneuver - slightly left or straight ahead, slightly left is highlighted.
SLIGHTLY_LEFT_FORWARD_1_1
Combined maneuver - slightly left or straight ahead, both options are highlighted.
SLIGHTLY_RIGHT_0
Slightly right, no highlight.
SLIGHTLY_RIGHT_1
Slightly right, highlighted.
SLIGHTLY_RIGHT_RIGHT_0_0
Combined maneuver - slightly right or right, no highlight.
SLIGHTLY_RIGHT_RIGHT_0_1
Combined maneuver - slightly right or right, right is highlighted.
SLIGHTLY_RIGHT_RIGHT_1_0
Combined maneuver - slightly right or right, slightly right is highlighted.
SLIGHTLY_RIGHT_RIGHT_1_1
Combined maneuver - slightly right or right, both options are highlighted.
SLIGHTLY_RIGHT_SHARPLY_RIGHT_0_0
Combined maneuver - slightly right or sharply right, no highlight.
SLIGHTLY_RIGHT_SHARPLY_RIGHT_0_1
Combined maneuver - slightly right or sharply right, sharply right is highlighted.
SLIGHTLY_RIGHT_SHARPLY_RIGHT_1_0
Combined maneuver - slightly right or sharply right, slightly right is highlighted.
SLIGHTLY_RIGHT_SHARPLY_RIGHT_1_1
Combined maneuver - slightly right or sharply right, both options are highlighted.
FORWARD_0
Straight ahead, no highlight.
FORWARD_1
Straight ahead, highlighted.
FORWARD_RIGHT_WITH_LEFT_TURN_0_0
Combined maneuver - straight ahead or right with the left turn, no highlight.
FORWARD_RIGHT_WITH_LEFT_TURN_0_1
Combined maneuver - straight or right with the left turn, right with the left turn is highlighted.
FORWARD_RIGHT_WITH_LEFT_TURN_1_0
Combined maneuver - straight ahead or right with the left turn, straight ahead is highlighted.
FORWARD_RIGHT_WITH_LEFT_TURN_1_1
Combined maneuver - straight or right with the left turn, both options 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 options are highlighted.
FORWARD_SHARPLY_RIGHT_0_0
Combined maneuver - straight ahead or sharply right, no highlight.
FORWARD_SHARPLY_RIGHT_0_1
Combined maneuver - straight ahead or sharply right, sharply right is highlighted.
FORWARD_SHARPLY_RIGHT_1_0
Combined maneuver - straight ahead or sharply right, straight ahead is highlighted.
FORWARD_SHARPLY_RIGHT_1_1
Combined maneuver - straight ahead or sharply right, both options are highlighted.
FORWARD_SLIGHTLY_RIGHT_0_0
Combined maneuver - straight ahead or slightly right, no highlight.
FORWARD_SLIGHTLY_RIGHT_0_1
Combined maneuver - straight ahead or slightly right, slightly right is highlighted.
FORWARD_SLIGHTLY_RIGHT_1_0
Combined maneuver - straight ahead or slightly right, straight ahead is highlighted.
FORWARD_SLIGHTLY_RIGHT_1_1
Combined maneuver - straight ahead or slightly right, both options are highlighted.
TURNOVER_0
U-turn, no highlight.
TURNOVER_1
U-turn, highlighted.
LogLevel
Log level.
MapDataLoadingState
MapRenderMode
MapRotationDirection
Direction of map rotation.
MapScalingDirection
Zoom direction.
MapShiftDirection
Direction of the map shift.
MapVisibilityState
Map visibility state.
MyLocationMapObjectMarkerType
Type of a geolocation marker.
ObjectType
Reference object type.
ADM_DIV
Administrative unit.
ADM_DIV_CITY
City.
ADM_DIV_COUNTRY
Country/state.
ADM_DIV_DISTRICT
District (of a city).
ADM_DIV_DISTRICT_AREA
Region or province district.
ADM_DIV_DIVISION
Division.
ADM_DIV_LIVING_AREA
Living area.
ADM_DIV_PLACE
Miscellaneous polygon objects: parks, beaches, recreation facilities, lakes, and other places.
ADM_DIV_REGION
Region/province.
ADM_DIV_SETTLEMENT
Settlement (village).
ATTRACTION
Sight.
BRANCH
Branch of the organization.
BUILDING
Building.
COORDINATES
Global coordinates.
CROSSROAD
Intersection.
GATE
Gate/passage.
KILOMETER_ROAD_SIGN
Kilometer marker.
PARKING
Parking.
ROAD
Road.
ROUTE
Public transport route.
STATION
Stop.
STATION_ENTRANCE
Entrance to the station.
STATION_METRO
Metro station.
STATION_PLATFORM
Station platform.
STREET
Street.
UNKNOWN
In case of getting an unexpected type.
Obstacle
Type of obstacle.
ObstaclePassLimitation
Restrictions on passing obstacles.
PackageInfoError
Errors that may occur while loading and/or installing the package.
PackageUpdateStatus
Package update status.
ParkingAccess
Parking access type.
ParkingPavingType
Type of parking paving.
ParkingPurpose
Purpose of the parking.
ParkingType
Parking type.
PedestrianInstructionCrossroadLandmark
Landmark.
PedestrianInstructionCrossroadManeuverDirection
Direction of movement.
PedestrianInstructionIndoorFloorChangeType
Type of the floor change.
PersonalDataCollectionConsent
Status of the user's consent to the collection and sending of personal data.
PublicTransportType
Type of public transport.
BUS
Bus.
TROLLEYBUS
Trolleybus.
TRAM
Tram.
SHUTTLE_BUS
Shuttle bus.
METRO
Metro.
SUBURBAN_TRAIN
Suburban train.
FUNICULAR_RAILWAY
Funicular.
MONORAIL
Monorail.
WATERWAY_TRANSPORT
Water transport.
CABLE_CAR
Cable car.
SPEED_TRAM
Speed tram (light rail).
PREMETRO
Underground tram.
LIGHT_METRO
Light metro.
AEROEXPRESS
Aeroexpress.
MOSCOW_CENTRAL_RING
Moscow Central Ring.
MOSCOW_CENTRAL_DIAMETERS
Moscow Central Diameters.