mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 10:02:06 +08:00
nav: athena destination with name and details (#23155)
old-commit-hash: 4a73445ee5b78549f28755110e068268d9e56cd8
This commit is contained in:
@@ -183,10 +183,12 @@ def getVersion():
|
||||
|
||||
|
||||
@dispatcher.add_method
|
||||
def setNavDestination(latitude=0, longitude=0):
|
||||
def setNavDestination(latitude=0, longitude=0, place_name=None, place_details=None):
|
||||
destination = {
|
||||
"latitude": latitude,
|
||||
"longitude": longitude,
|
||||
"place_name": place_name,
|
||||
"place_details": place_details,
|
||||
}
|
||||
Params().put("NavDestination", json.dumps(destination))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user