This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:pro:remoteapi:codesamples:address_coords [06/03/2013 16:25] zuve |
en:pro:remoteapi:codesamples:address_coords [06/03/2013 16:32] zuve |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== 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> | ||
Line 14: | Line 14: | ||
</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. |
|