From 88cedd35fcc2c493115f01a9bae20ce7a6b1cce2 Mon Sep 17 00:00:00 2001 From: asanoaozora Date: Mon, 14 Nov 2016 21:41:08 +0100 Subject: GT-3328 GT-3432: Update of mapviewer --- .../navigation/mapviewer/MapViewerControl.fidl | 22 +++++++++------------- .../genivi-mapviewer-mapviewercontrol.xml | 18 ++++++------------ 2 files changed, 15 insertions(+), 25 deletions(-) (limited to 'api') diff --git a/api/franca/navigation/mapviewer/MapViewerControl.fidl b/api/franca/navigation/mapviewer/MapViewerControl.fidl index c773ff8..64c8676 100755 --- a/api/franca/navigation/mapviewer/MapViewerControl.fidl +++ b/api/franca/navigation/mapviewer/MapViewerControl.fidl @@ -836,7 +836,7 @@ interface MapViewerControl { <** @description : mapViewScaleChanged = This signal is emitted when the mapview scale changes **> - broadcast mapViewScaleChanged { + broadcast mapViewScaleChanged selective { out { <** @@ -872,18 +872,6 @@ interface MapViewerControl { } } - <** - @description : addMapViewScaleChangedListener = This method adds a listener which is notified when map view scale changes. - **> - method addMapViewScaleChangedListener { - } - - <** - @description : removeMapViewScaleChangedListener = This method removes a listener which is notified when map view scale changes. - **> - method removeMapViewScaleChangedListener { - } - <** @description : setCameraHeight = This method sets the camera height **> @@ -1837,6 +1825,10 @@ interface MapViewerControl { out { Coordinate2D [] geoCoordinates } + error { + OK + MAPVIEWERCONTROL_ERROR_INVALID_INPUT // wrong input coordinates + } } <** @@ -1862,6 +1854,10 @@ interface MapViewerControl { Pixel [] pixelCoordinates } + error { + OK + MAPVIEWERCONTROL_ERROR_INVALID_INPUT // wrong input coordinates + } } <** diff --git a/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml b/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml index 1104ead..621e2a6 100644 --- a/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml +++ b/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml @@ -607,16 +607,6 @@ - - - AddMapViewScaleChangedListener = This method adds a listener which is notified when map view scale changes. - - - - - RemoveMapViewScaleChangedListener = This method removes a listener which is notified when map view scale changes. - - SetCameraHeight = This method sets the camera height @@ -1559,7 +1549,9 @@ cover with other windows or user interface elements y = y-coordinate (y=0 indicates the first top pixel of the map view) - + + + geoCoordinates = array[struct(lat,lon)] lat = latitude in format %3.6f. Range[-90:+90] @@ -1588,7 +1580,9 @@ cover with other windows or user interface elements lon = longitude in format %3.6f. Range[-180:+180] - + + + pixelCoordinates = array[struct(x,y)] x = x-coordinate (x=0 indicates the first left pixel of the map view) -- cgit v1.2.1