Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
en:pro:remoteapi:codesamples:address_coords [06/03/2013 16:25] zuve |
en:pro:remoteapi:codesamples:address_coords [29/11/2013 13:31] (current) |
====== Address detection ====== | ====== Address detection ====== |
| |
To find address by specified coordinates, use the request [[../apiref/requests/address|gis_geocode]]. As an example, let's detect the address of the point with coordinates 27.516643322771575 EL and 53.91069937030936 NL. | 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> | <code> |
"y":53.91069937030936 | "y":53.91069937030936 |
}] | }] |
}&sid=<your_sid> | }&ssid=<your_sid> |
</code> | </code> |
| |
Результат выполнения: | Response: |
<code javascript> | <code javascript> |
{ | { |
"locations": ["ул. Скрыганова 6, Минск"] | "locations": ["Skryganova st. 6, Minsk"] |
} | } |
</code> | </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. |