1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
|
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2014, PCA Peugeot Citro�n, XS Embedded GmbH, TomTom International B.V., Continental Automotive GmbH, BMW Car IT GmbH, Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD., Neusoft Technology Solutions GmbH, Jaguar Land Rover Limited, Visteon Corporation, Elektrobit Automotive GmbH
// This Source Code Form is subject to the terms of the
// Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
// this file, you can obtain one at http://mozilla.org/MPL/2.0/.
package org.genivi.navigation.navigationcore
import org.genivi.navigation.NavigationTypes.* from "../NavigationTypes.fidl"
typeCollection MapViewerControlTypes {
// enumeration MapViewType extends BasicEnum { //Base 0x0010
enumeration MapViewType { //Base 0x0010
INVALID = 0
MAIN_MAP = 16
SPLIT_SCREEN = 17
GUIDING_MAP = 18
}
// enumeration MapScaleMode extends BasicEnum { //Base 0x0110
enumeration MapScaleMode { //Base 0x0110
INVALID = 0
AUTOMATIC = 272
MANUAL = 273
HYBRID = 274
}
// enumeration MapPerspective extends BasicEnum { //Base 0x0020
enumeration MapPerspective { //Base 0x0020
INVALID = 0
PERSPECTIVE_2D = 32
PERSPECTIVE_3D = 33
}
// enumeration MapObject extends BasicEnum {
enumeration MapObject {
INVALID = 0
// TODO: Check which elements are really visible
DET_POI //Points Of Interest
DET_TTI //TTI elements
DET_ONE_WAY_STREET_ARROW //Arrows marking one way streets
DET_CITY_NAME //City names
DET_ROAD_NAME //Road names
DET_MOTORWAY_EXIT_MARKER //Motorway exit signs
DET_TRAFFIC_LIGHT //Traffic lights
DET_TRAFFIC_LIGHTS_ALONG_ROUTE //Traffic lights along the route
DET_ROAD_ICON //Road icons
DET_DTM //Digital Terrain Model
DET_LANDMARKS_3D //3D landmarks
DET_FAVORITES //Saved favorite destinations
DET_ROUTE_BLOCKING //Highlighting of blocked routes
DET_ROAD //Roads
DET_POLYGON //Polygons
DET_DESTINATION //Destination flag
DET_MANOEUVRE_MARKER //Maneuvre point markers
DET_LANE_GUIDANCE_MARKER //Lane guidance point markers
DET_ROUTE //Route
DET_MANOEUVRE_ARROW //Maneuvre arrows
DET_TREKKING_TOUR //Trekking tours
DET_TTI_EDGE_HIGHLIGHTING //TTI highlighted edges
DET_CITY_MARKER //City markers
DET_VEHICLE //Vehicle
DET_POLYGON_NAME //Name of polygons
DET_OFF_ROAD_ROUTE //Connection line between end of a route and an off-road destination
DET_TTI_ARROW //Direction arrow for TTI messages
DET_POI_NAME //Points Of Interest with a label
DET_RASTER_MAP //Raster maps
DET_BREAD_CRUMB_TRAIL //Line that connects bread crumbs (past positions)
DET_EDGE_HIGHLIGHTING //Draw highlighted edges that were selected by MAP_POINT_QUERY0 - MAP_POINT_QUERY4.
DET_DIRECTION_ARROW //Draw arrows that indicate driving or walking direction.
DET_CITY_BUILDINGS //Render city buildings.
DET_FPS_DISPLAY //Measure and display frames per second.
DET_CROSSHAIR //Display cross-hair.
DET_DEVDROP_BANNER //Enables drawing of a banner. The banner indicates that the current version is a developer's version. The banner is rendered across the display.
DET_FRAME_AROUND_MAP //a frame is rendered around the map.
DET_CORONA //a corona is drawn around the earth.
DET_WATEREFFECT //Demo effect for water.
DET_TREES //Demo effect for trees.
DET_RAIN //Demo effect for rain.
DET_CITYMODEL_ROUTE_TRANSPARENCY //Render buildings transparently around route.
DET_ROUTE_DESTINATION //Render destination POIs (e.g. destination flags).
DET_RANGE_DISPLAY //Display range display.
DET_POI_BRANDS //Display branded POIs.
DET_WEATHER_MARKER //DrawingElementType_DET_WEATHER_MARKER
DET_WEATHER_OVERLAY //Weather map overlay
DET_WAYPOINT_ROUTE
DET_WAYPOINT_ROUTE_MARKER
DET_STENCIL
}
// enumeration PanAction extends BasicEnum { //Base 0x0100
enumeration PanAction { //Base 0x0100
INVALID = 0
PAN_START = 256
PAN_TO = 257
PAN_END = 258
}
// enumeration Visibility extends BasicEnum { //Base 0x0040
enumeration Visibility { //Base 0x0040
INVALID = 0
VISIBLE = 67
INVISIBLE = 68
FROZEN = 69
}
// enumeration Level extends BasicEnum { //Base 0x0050
enumeration Level { //Base 0x0050
INVALID = 0
LEVEL_1 = 80
LEVEL_2 = 81
LEVEL_3 = 82
LEVEL_4 = 83
LEVEL_5 = 84
}
// enumeration MapTheme extends BasicEnum {
enumeration MapTheme {
INVALID = 0
THEME_BMW_CLASSIC_DAY
THEME_BMW_CLASSIC_NIGHT
THEME_BMW_CLASSIC_TRAFFIC_DAY
THEME_BMW_CLASSIC_TRAFFIC_NIGHT
THEME_BMW_ALTERNATIVE_DAY
THEME_BMW_ALTERNATIVE_NIGHT
THEME_BMW_ALTERNATIVE_TRAFFIC_DAY
THEME_BMW_ALTERNATIVE_TRAFFIC_NIGHT
THEME_BMW_GUIDING
THEME_MINI_CLASSIC_DAY
THEME_MINI_CLASSIC_NIGHT
THEME_MINI_CLASSIC_TRAFFIC_DAY
THEME_MINI_CLASSIC_TRAFFIC_NIGHT
THEME_MINI_ALTERNATIVE_DAY
THEME_MINI_ALTERNATIVE_NIGHT
THEME_MINI_ALTERNATIVE_TRAFFIC_DAY
THEME_MINI_ALTERNATIVE_TRAFFIC_NIGHT
THEME_MINI_GUIDING
THEME_I_CLASSIC_DAY
THEME_I_CLASSIC_NIGHT
THEME_I_CLASSIC_TRAFFIC_DAY
THEME_I_CLASSIC_TRAFFIC_NIGHT
THEME_I_ALTERNATIVE_DAY
THEME_I_ALTERNATIVE_NIGHT
THEME_I_ALTERNATIVE_TRAFFIC_DAY
THEME_I_ALTERNATIVE_TRAFFIC_NIGHT
THEME_I_GUIDING
}
<**
@description : struct generated for DBus argument CreateMapViewInstance_mapViewSize
**>
struct Dimension {
UInt16 horizontalSize
UInt16 verticalSize
}
map MapObjectVisibility {
MapObject to Boolean
}
// enumeration MapScaleUnit extends BasicEnum { //Base 0x0030
enumeration MapScaleUnit { //Base 0x0030
INVALID = 0
METER = 50
MILE = 51
KM = 52
YARD = 53
FOOT = 54
}
// enumeration MapScaleType extends BasicEnum { //Base 0x0040
enumeration MapScaleType { //Base 0x0040
INVALID = 0
MIN = 64
MAX = 65
MID = 66
}
// enumeration SelectableMapType extends BasicEnum {
enumeration SelectableMapType {
INVALID = 0
MET_POI = 2 //POI.
MET_POLYGON = 3 //Polygons.
MET_EDGE = 4 //All edges except roads. E.g. railways rivers ferries.
MET_ROAD = 5 //Road edges.
MET_ROAD_ICON = 6 //Road icons.
MET_TTI_ICON = 7 //TTI icons.
MET_TTI_EDGE = 8 //TTI edge [Not yet supported].
MET_CITY_MARKER = 9 //City names and city markers.
MET_ROUTE = 10 //Tours.
MET_TREKKING_ROUTE = 11 //Trekking tours.
MET_POSITION = 12 //Position.
MET_LANDMARK = 13 //Landmarks.
MET_DESTINATION = 14 //Destinations.
MET_FAVORITE = 15 //Favorites.
MET_PICTURE = 16 //Picture.
MET_GENERIC_MARKER = 17 //Generic markers like weather markers.
CUSTOM_ELEMENT = 288 //Base 0x0120
CURRENT_POSITION = 289
WAYPOINT = 290
POI = 291
TRAFFIC_INCIDENT = 292
ROUTE = 293
GEOCOORDINATES = 294
}
<**
@description : struct generated for DBus argument GetScaleList_scaleList
**>
struct MapScale {
UInt16 scaleId
UInt16 scaleValue
MapScaleUnit unit
UInt32 millimetersPerPixel
}
<**
@description : struct generated for DBus argument SetMapViewSaveArea_saveArea
**>
struct MapViewArea {
Double left
Double right
Double top
Double bottom
}
<**
@description : struct generated for DBus argument SetMapViewPan_pixelCoordinates
**>
struct Pixel {
UInt16 x
UInt16 y
}
<**
@description : struct generated for DBus argument GetDisplayedRoutes_displayedRoutes
**>
struct DisplayedRoute {
Handle routeHandle
Boolean highlighted
}
<**
@description : struct generated for DBus argument DisplayCustomElements_customElementsElem4
**>
struct AnchorPoint {
Int16 x
Int16 y
}
<**
@description : struct generated for DBus argument DisplayCustomElements_customElements
**>
struct CustomElement {
String name
String iconUri
Coordinate2D coordinate
AnchorPoint elem4
}
map tCustomElementDict {
Handle to CustomElement
}
<**
@description : struct generated for DBus argument SelectElementsOnMap_selectedElements
**>
struct SelectedMapElement {
SelectableMapType type
Coordinate2D position
ElementValue value
}
union ElementValue {
Int32 trafficIncident
Handle handle
CustomElement element
}
}
|