|
|
@ -183,10 +183,12 @@ def getVersion(): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@dispatcher.add_method |
|
|
|
@dispatcher.add_method |
|
|
|
def setNavDestination(latitude=0, longitude=0): |
|
|
|
def setNavDestination(latitude=0, longitude=0, place_name=None, place_details=None): |
|
|
|
destination = { |
|
|
|
destination = { |
|
|
|
"latitude": latitude, |
|
|
|
"latitude": latitude, |
|
|
|
"longitude": longitude, |
|
|
|
"longitude": longitude, |
|
|
|
|
|
|
|
"place_name": place_name, |
|
|
|
|
|
|
|
"place_details": place_details, |
|
|
|
} |
|
|
|
} |
|
|
|
Params().put("NavDestination", json.dumps(destination)) |
|
|
|
Params().put("NavDestination", json.dumps(destination)) |
|
|
|
|
|
|
|
|
|
|
|