|  Developer
Updated on November 11, 2021

hub.coordinates.get

  • Version: 1.0
  • Classes: UI
  • Title: Core(Basement) categories
  • Description: Get current latitude/longitude of the hub.
Edit
  • No Parameters required.
Edit
  • Result will contain latitude and longitude values. See the table below
Field Type Required Description
longitude float32 + longitude value
latitude float32 + latitude value
Edit

Here is it an example of usage:

Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.coordinates.get",
    "params": {}
}
				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
       "latitude" :  49.9808100,
       "longitude" : 36.2527200
    }
}