struct
Address
Address as a set of individual components.
public init(
drillDown: [AddressAdmDiv],
components: [AddressComponent],
buildingName: String?,
buildingId: BuildingId?,
postCode: String?,
buildingCode: String?,
fiasCode: String?,
addressComment: String?
)
drillDown
components
buildingName
buildingId
postCode
buildingCode
fiasCode
addressComment
var drillDown
Set of administrative division objects in which the object being described is located.
var components
Complete address of an object may contain several separate address components.
var buildingName
Name of the building.
var buildingId
Unique identifier of the building.
var postCode
ZIP code.
var buildingCode
The unique ZIP code of the building.
var fiasCode
FIAS code of the building.
var addressComment
Address comment. Example: “office 301; floor 9”.
AddressAdmDiv
Administrative unit object.
AddressLocation
Applies to components that are hard to describe with a specific address.
AddressNumber
Some localities designate only the house number, without the street (e.g., Krasnoobsk).
AddressStreet
Normal address, there is a street and house number.
Aggregate
EV charging station description.
var connectorsFree
Number of available connectors (in the Available status).
var connectorsTotal
Total number of connectors, except for connectors in the Unavailable status.
var isActive
Shows whether connectors are active. true if there is at least one available (in the Available status), reserved (Reserved), or busy (Charging) connector.
var isBusy
Shows whether connectors are busy. true if half or more of the connectors are busy (in the Charging status).
var power
The maximum power of the connector at the station.
Anchor
Image anchor point (0, 0) - upper left corner, (1, 1) - lower right corner.
public init(
x: Float = 0.5,
y: Float = 0.5
)
x
y
ApartmentRange
Range of apartments.
Attribute
Additional attribute. Example: { tag: “hotel_room_internet”, name: “Free internet in the rooms” }.
AuthorInfo
Information about the author of the event or photo.
Bearing
Angle between the direction to one object and another object or between the direction to the object and north. The angle is counted clockwise. The value range is [0°, 360°].
public init(floatLiteral value: Double)
Creates an instance initialized to the specified floating-point value.
value
Value to create.
BetterRouteInfo
Information on available alternative route.
public init(
trafficRoute: TrafficRoute,
startPoint: RoutePoint
)
BicycleBriefRouteInfo
Basic cycling route information.
BicycleInstructionCrossroad
Description of maneuvers when passing through an intersection or crosswalk.
public init(
landmark: BicycleInstructionCrossroadLandmark = BicycleInstructionCrossroadLandmark.`none`,
maneuvers: [BicycleInstructionCrossroadManeuver]
)
BicycleInstructionCrossroadManeuver
public init(
direction: BicycleInstructionCrossroadManeuverDirection = BicycleInstructionCrossroadManeuverDirection.straight,
turnAngle: Int32 = 0
)
BicycleInstructionFinish
End of the cycling part of the route.
public init()
BicycleInstructionStart
The beginning of the cycling part of the route.
public init()
BicycleRouteSearchOptions
Bicycle route search options.
public init(
avoidCarRoads: Bool = false,
avoidStairways: Bool = false,
avoidUnderpassesAndOverpasses: Bool = false,
excludedAreas: [ExcludedArea] = []
)
BoolRouteLongEntry
Extended route element - segment and value on it.
public init(
point: RoutePoint,
length: RouteDistance,
value: Bool
)
Borders
Describes a continuous set of sorted values.
var snapping
Defines snapping to the value multiple of this number.
var isLg
Indication of using the logarithmic scale.
var value
Value by which filtering is done.
var min
Lower bound of the values set.
var max
Upper bound of the values set.
var currentMin
Currently set minimum value.
var currentMax
Currently set maximum value.
BriefRoadEvent
public init(
id: UInt64 = 0,
eventType: RoadEventType = RoadEventType.other,
lanes: LaneOptionSet
)
BriefRouteInfo
Basic route information.
public init(
duration: TimeInterval,
extraInfo: BriefExtraRouteInfo
)
BriefRouteInfoSearchPoints
Points to query for basic route information search.
public init(
startPoint: RouteSearchPoint,
finishPoint: RouteSearchPoint
)
BuildingId
BuildingInfo
Information about building.
public init(
buildingName: String? = nil,
purposeName: String? = nil,
purposeCode: PurposeCode? = nil,
buildingLevels: BuildingLevels? = nil,
buildingId: BuildingId?
)
buildingName
purposeName
purposeCode
buildingLevels
buildingId
BuildingLevels
Information about the floor plans of the building. To get this information, please request additional key setup.
public init(
defaultLevelId: LevelId,
levels: [LevelInfo]
)
CalloutMapPosition
Route bubble position.
public init(
mapId: MapId,
calloutPosition: GeoPoint?,
routePoint: RoutePoint?
)
CameraBehaviour
Camera tracking mode.
public init(
position: FollowPosition?,
tilt: FollowTilt = FollowTilt.off
)
CameraBehaviourChange
Changes tracking mode.
public init(
newBehaviour: CameraBehaviour,
changeReason: CameraBehaviourChangeReason = CameraBehaviourChangeReason.application
)
CameraPosition
Camera position.
var point
Terrain point that is located at the camera position point (see ICamera::position_point()).
var zoom
Zoom level. 0 is the entire world inscribed in a square of 256x256 logical pixels (see LogicalPixel).
var tilt
Tilt angle of the gaze direction vertically.
0 is nadir (vertically downward), maximum value is 60 degrees.
var bearing
Angle of rotation of the view direction horizontally relative to the north direction. Counted clockwise, in degrees.
CameraPositionChange
Changing specific parameters of camera position.
CameraPositionPoint
Relative screen position of the point to which the camera is linked.
public init(
x: Float = 0.5,
y: Float = 0.5
)
x
y
CameraProgressInfo
Information about the progress of the camera zone.
public init(
camera: RouteCamera,
position: RoutePoint,
progress: Float = 0
)
CameraPurposeOptionSet
public init(rawValue: UInt32)
Creates a new option set from the given raw value.
rawValue
Raw value of the option set to create. Each bit of rawValue potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the OptionSet type.
var rawValue
Corresponding value of the raw type.
static let speedControl
Recording of exceeding the speed limit.
static let averageSpeedControl
Recording of exceeding the average speed on the section.
static let publicTransportLaneMovementControl
Recording of movement on the dedicated lane for public transport.
static let roadMarkingsCrossingControl
Recording of crossing the solid line of road markings, driving on the side of the road.
static let trafficLightsViolationControl
Recording of passing at the forbidden signal of traffic lights.
static let stopLineCrossingControl
Recording of driving over the stop line, driving without stopping the stop sign, driving to the intersection during a jam.
static let oncomingTrafficLaneMovementControl
Recording driving in the oncoming lane.
static let pedestrianAdvantageViolationControl
Recording failure to give priority to pedestrians.
static let laneDisciplineControl
Recording of violation of lane rotation at the intersection.
static let noStoppingViolationControl
Recording of violation of prohibition of stopping.
static let dummy
Fake item.
static let truck
Platon system camera, truck restriction control camera.
CameraRouteEntry
Route element - a point and a value in it.
CameraViewPoint
The relative position of the screen point with the camera viewpoint.
public init(
x: Float = 0.5,
y: Float = 0.5
)
x
y
CameraZoomRestrictions
Allowed range of zoom level variation.
CarBriefRouteInfo
Basic information about the automobile route.
public init(
length: RouteDistance,
landmark: String,
trafficSpeed: CarBriefRouteInfoTrafficSpeed
)
CarInstructionCrossroad
Description of maneuvers at the intersection.
public init(
direction: CarInstructionCrossroadDirection = CarInstructionCrossroadDirection.straight,
turnAngle: Int32 = 0,
landmark: CarInstructionCrossroadLandmark = CarInstructionCrossroadLandmark.`none`,
exitName: String
)
direction
turnAngle
landmark
exitName
CarInstructionFinish
End of the automobile part of the route.
public init()
CarInstructionRoundabout
Description of maneuvers at a traffic circle intersection.
public init(
type: CarInstructionRoundaboutType = CarInstructionRoundaboutType.entry,
turnAngle: Int32 = 0,
exitNumber: UInt32 = 0,
exitName: String
)
CarInstructionStart
Start of the automobile part of the route.
public init()
CarInstructionUTurn
U-turn on the road (not at an intersection).
U-turn at an intersection is described by the Crossroad instruction.
CarRouteSearchOptions
Route search parameters in a passenger car.
public init(
avoidTollRoads: Bool = false,
avoidUnpavedRoads: Bool = false,
avoidFerries: Bool = false,
avoidLockedRoads: Bool = true,
routeSearchType: RouteSearchType = RouteSearchType.jam,
excludedAreas: [ExcludedArea] = []
)
avoidTollRoads
avoidUnpavedRoads
avoidFerries
avoidLockedRoads
routeSearchType
excludedAreas
var avoidTollRoads
Avoid toll roads.
var avoidUnpavedRoads
Avoid unpaved roads.
var avoidFerries
Avoid ferry crossings.
var avoidLockedRoads
Avoid closed roads. If true, the route search will not take into account road closures. If false is set, the route can be created through roadblocks if you cannot build a route without passing through roadblocks.
var routeSearchType
Route search type.
var excludedAreas
Excluded areas (not more than 25).
ChargingStation
Attributes of EV charging stations.
public init(
aggregate: Aggregate,
connectors: [Connector]
)
CircleOptions
Parameters for creating a geometric map object of the Circle type.
public init(
position: GeoPoint,
radius: Meter,
color: Color = Color(),
strokeWidth: LogicalPixel = LogicalPixel(value: 0),
strokeColor: Color = Color(),
dashedStrokeOptions: DashedStrokeCircleOptions? = nil,
visible: Bool = true,
userData: Any = (),
zIndex: ZIndex = ZIndex(value: 0),
levelId: LevelId? = nil
)
position
radius
color
strokeWidth
strokeColor
dashedStrokeOptions
visible
zIndex
levelId
var position
Geographic position.
var radius
Radius in meters.
var color
Fill color.
var strokeWidth
Circle border line width.
var strokeColor
Color of the circle boundary line.
var dashedStrokeOptions
var visible
Visibility flag.
var userData
User data. (not used inside SDK, only for API users).
var zIndex
Object drawing level.
var levelId
Binding to the floor plan of the building.
ClusterOptions
Cluster marker parameters.
public init(
attributes: [String: AttributeValue],
userData: Any = ()
)
attributes
Color
Color.
init(
red: CGFloat,
green: CGFloat,
blue: CGFloat,
alpha: CGFloat
)
CompassView
UI control of the compass in SwiftUI.
var body
Contents and behavior of the control.
Connector
public init(
power: UInt16,
price: UInt16,
status: StatusType,
type: String
)
ContactInfo
Way to contact the organization.
CurrentLocationView
Control of the current location in SwiftUI.
var body
Contents and behavior of the control.
DashboardButtonSettings
Settings for a button in the bottom panel of the NavigationView.
var enabled
Button visibility.
var icon
Icon. By default, the icon for adding road events is used.
var callback
Callback function that is called when a button is pressed. By default, the function for creating road events is set.
static var `default`
Default settings for a button in the bottom panel.
DashedPolylineOptions
Parameters of the dotted polyline.
public init(
dashLength: LogicalPixel = LogicalPixel(value: 5),
dashSpaceLength: LogicalPixel = LogicalPixel(value: 2)
)
DashedStrokeCircleOptions
public init(
dashLength: LogicalPixel = LogicalPixel(value: 5),
dashSpaceLength: LogicalPixel = LogicalPixel(value: 2)
)
DayTime
Time moment within a day.
public static func < (lhs: DayTime, rhs: DayTime) -> Bool
Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
DefaultRasterUrlTemplate
DeviceDensity
Multiplier that is calculated as the ratio of DPI to the base DPI of the device.
Must be positive.
public init(
value: Float = 0
)
value
var value
DevicePpi
Resolution of the device display, in pixels per inch.
Must be positive.
public init(
value: Float = 0
)
value
public init(floatLiteral value: Float)
Creates an instance initialized to the specified floating-point value.
value
The value to create.
var value
static let autodetected
PPI of the head unit screen. For example, for a smartphone connected to CarPlay, this is the PPI of the smartphone screen. The value is nil if the current device has an unknown PPI (unsupported device, e.g. from future). In such cases, you need to set the PPI yourself using the entry in Map.devicePpi.
static let defaultForFailedAutodetection
This PPI is used by default in cases where it was not possible to automatically determine from the device model. See `.autodetected'.
DgisObjectId
DirectoryFilter
Filters for the directory.
public init(
workTime: WorkTimeFilter?,
dynamic: [DynamicFilter]
)
DoubleRouteEntry
Route element - a point and a value in it.