diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2018-01-19 17:11:13 +0100 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2018-01-19 17:11:13 +0100 |
commit | 4761e62bdf6ea3a65f41409174c6f68b813832e1 (patch) | |
tree | ae35b16c8b32deac2c255cb7d008dcf6df59e82c /api | |
parent | c47c664214c09e8dc282e9594bf6ecc071c8da44 (diff) | |
download | poi-service-4761e62bdf6ea3a65f41409174c6f68b813832e1.tar.gz |
GT-3504
MapViewerControl - Add broadcast for scale changed event which reports
scale value in meters per pixel
Diffstat (limited to 'api')
-rwxr-xr-x | api/franca/navigation/mapviewer/MapViewerControl.fidl | 18 | ||||
-rw-r--r-- | api/map-viewer/genivi-mapviewer-mapviewercontrol.xml | 21 |
2 files changed, 39 insertions, 0 deletions
diff --git a/api/franca/navigation/mapviewer/MapViewerControl.fidl b/api/franca/navigation/mapviewer/MapViewerControl.fidl index fff1dea..aeb6e7c 100755 --- a/api/franca/navigation/mapviewer/MapViewerControl.fidl +++ b/api/franca/navigation/mapviewer/MapViewerControl.fidl @@ -1173,6 +1173,24 @@ interface MapViewerControl { } <** + @description : mapViewScaleByMetersPerPixelChanged = This signal is emitted when the mapview scale ByMetersPerPixel changes + **> + broadcast mapViewScaleByMetersPerPixelChanged selective { + out { + + <** + @description : mapViewInstanceHandle = Map instance handle. Range[0x0:0x7fffffff]. 0x0 is reserved as an invalid handle value + **> + Handle mapViewInstanceHandle + + <** + @description : metersPerPixel = scale value in meters per pixel + **> + Double metersPerPixel + } + } + + <** @description : getMapViewScale = This method returns the currently used map scale **> method getMapViewScale { diff --git a/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml b/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml index cee04ca..2f763ff 100644 --- a/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml +++ b/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml @@ -613,6 +613,27 @@ </method> <method name="unsubscribeFrommapViewScaleChangedSelective"> </method> + <signal name="MapViewScaleByMetersPerPixelChanged"> + <doc> + <line>MapViewScaleByMetersPerPixelChanged = This signal is emitted when the mapview scale ByMetersPerPixel changes</line> + </doc> + <arg name="mapViewInstanceHandle" type="u"> + <doc> + <line>mapViewInstanceHandle = Map instance handle. Range[0x0:0x7fffffff]. 0x0 is reserved as an invalid handle value</line> + </doc> + </arg> + <arg name="metersPerPixel" type="d"> + <doc> + <line>metersPerPixel = meters per pixel</line> + </doc> + </arg> + </signal> + <method name="subscribeFormapViewScaleByMetersPerPixelChangedSelective"> + <arg direction="out" name="status" type="b"> + </arg> + </method> + <method name="unsubscribeFrommapViewScaleByMetersPerPixelChangedSelective"> + </method> <method name="SetCameraHeight"> <doc> <line>SetCameraHeight = This method sets the camera height</line> |