diff --git a/brouter-routing-app/src/main/aidl/btools/routingapp/IBRouterService.aidl b/brouter-routing-app/src/main/aidl/btools/routingapp/IBRouterService.aidl index b233082..0e35a79 100644 --- a/brouter-routing-app/src/main/aidl/btools/routingapp/IBRouterService.aidl +++ b/brouter-routing-app/src/main/aidl/btools/routingapp/IBRouterService.aidl @@ -35,7 +35,7 @@ interface IBRouterService { // "timode" = turnInstructionMode [0=none, 1=auto-choose, 2=locus-style, 3=osmand-style, 4=comment-style, 5=gpsies-style, 6=orux-style, 7=locus-old-style] default 0 // "heading" = angle (optional to give a route a start direction) // "direction" = angle (optional, used like "heading" on a recalculation request by Locus as start direction) - // "engineMode" = 0 (optional, default 0, 2 = get elevation) + // "engineMode" = 0 (optional, default 0, 2 = get elevation, 3 = get segment info) // return null if all ok and no path given, the track if ok and path given, an error message if it was wrong // the resultas string when 'pathToFileResult' is null, this should be default when Android Q or later diff --git a/docs/developers/android_service.md b/docs/developers/android_service.md index 5bbc475..cd45a5e 100644 --- a/docs/developers/android_service.md +++ b/docs/developers/android_service.md @@ -131,4 +131,8 @@ This suppress the first question after installation for the BRouter path, genera ### get elevation -"engineMode=2" allows a client to only request an elevation for a point. This can be restricted with "waypointCatchingRange". +"engineMode=2" allows a client to request only an elevation for a point. This can be restricted with "waypointCatchingRange". + +### get info + +"engineMode=3" allows a client to request the description tags for a segment. This can be restricted with "waypointCatchingRange".