Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:pro:remoteapi:codesamples:address_coords [06/03/2013 16:32]
zuve
en:pro:remoteapi:codesamples:address_coords [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​10}} 
-====== ​ Address detection ====== 
  
-To find address by specified coordinates,​ use the request [[../​apiref/​gis/​get_locations|get_locations]]. As an example, let's detect the address of the point with coordinates 27.516643322771575 EL and 53.91069937030936 NL.  
- 
-<​code>​ 
-<​your_wialon_pro_address>/​ajax.html?​svc=gis/​get_locations&​ 
- params={ 
- "​points":​[{ 
- "​x":​27.516643322771575,​ 
- "​y":​53.91069937030936 
- }] 
- }&​sid=<​your_sid>​  
-</​code>​ 
- 
-Response: 
-<code javascript>​ 
-{ 
-    "​locations":​ ["​Skryganova st. 6, Minsk"​] 
-} 
-</​code>​ 
- 
-Input data of this command is an array of coordinates,​ it gives us an opportunity to get location of many point in one request. 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam