Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::sense::ESPrefKeys::Position Class Reference

Position preferences. More...

Static Public Attributes

static constexpr const char * PositionDistanceFilter = "pos_distance"
 Position distance.
static constexpr const char * PositionHeadingAngleFilter = "pos_heading_angle"
 Position heading angle.
static constexpr const char * PositionAccuracy = "pos_accuracy"
 Position accuracy.
static constexpr const char * PositionActivity = "pos_activity"
 Position activity.
static constexpr const char * AllowsBackgroundLocationUpdates = "allowsBackgroundLocationUpdates"
 Allows background location updates.
static constexpr const char * PausesLocationUpdatesAutomatically = "pausesLocationUpdatesAutomatically"
 Pauses location updates automatically.
static constexpr const char * ImprovedPositionUpdateFreq = "improvedPositionUpdateFreq"
 Update freq on which the improved position is calculated ( Hz integer ).
static constexpr const char * ImprovedPositionDefTransportMode = "improvedPositionDefTransportMode"
 Improved position default transport mode.
static constexpr const char * DeviceMountType = "deviceMountType"
 Values: "car", "truck", "bike/bicycle", "pedestrian, "auto".
static constexpr const char * ImprovedPositionSnapToMapLinkThreshold_Vehicle = "snapToMapLinkThreshold_Vehicle"
 Values: "0" = Fixed, "1" = Mounted, "2" = Mobile.
static constexpr const char * ImprovedPositionSnapToMapLinkThreshold_Bike = "snapToMapLinkThreshold_Bike"
 the threshold for snapping to map link data ( meters integer ) - bike transport mode
static constexpr const char * ImprovedPosPreferRouteSnap = "preferRouteSnap"
 Whether to snap the arrow to the route (instead of the most probable link).
static constexpr const char * AllowReroutingEvent = "allowReroutingEvent"
 Allow sending re-routing events.

Detailed Description

Position preferences.

Member Data Documentation

◆ AllowReroutingEvent

const char* gem::sense::ESPrefKeys::Position::AllowReroutingEvent = "allowReroutingEvent"
staticconstexpr

Allow sending re-routing events.

Default is 0

If 1, the arrow will always snap to the route (if the route exits) If 0, it will snap to the most probable map link, which is not necessarily the route link This is only for display; does not affect the matching and guidance algorithm

◆ DeviceMountType

const char* gem::sense::ESPrefKeys::Position::DeviceMountType = "deviceMountType"
staticconstexpr

Values: "car", "truck", "bike/bicycle", "pedestrian, "auto".

Default transport mode roads are preferred by the improved position engine If set to auto, the default transport mode is automatically detected Key for device mount type parameter

◆ ImprovedPositionDefTransportMode

const char* gem::sense::ESPrefKeys::Position::ImprovedPositionDefTransportMode = "improvedPositionDefTransportMode"
staticconstexpr

Improved position default transport mode.

Higher frequency provides smoother positions but increases CPU / battery usage

◆ ImprovedPositionSnapToMapLinkThreshold_Bike

const char* gem::sense::ESPrefKeys::Position::ImprovedPositionSnapToMapLinkThreshold_Bike = "snapToMapLinkThreshold_Bike"
staticconstexpr

the threshold for snapping to map link data ( meters integer ) - bike transport mode

Default 50 meters If position is close to a map link at a smaller distance than this value, the improved position will automatically snap to the map link 0 means never snap to map data

◆ ImprovedPositionSnapToMapLinkThreshold_Vehicle

const char* gem::sense::ESPrefKeys::Position::ImprovedPositionSnapToMapLinkThreshold_Vehicle = "snapToMapLinkThreshold_Vehicle"
staticconstexpr

Values: "0" = Fixed, "1" = Mounted, "2" = Mobile.

Default device mount type is "2" (Mobile), meaning the device is carried or moves freely. Threshold for snapping to map link data ( meters integer ) - car / truck transport mode

◆ ImprovedPosPreferRouteSnap

const char* gem::sense::ESPrefKeys::Position::ImprovedPosPreferRouteSnap = "preferRouteSnap"
staticconstexpr

Whether to snap the arrow to the route (instead of the most probable link).

Default 50 meters If position is close to a map link at a smaller distance than this value, the improved position will automatically snap to the map link 0 means never snap to map data