---
metadata:
  - name: generator
    content: Diplodoc Platform v5.28.0
alternate:
  - https://yandex.com/dev/yandex-apps-launch-maps/doc/en/concepts/yandexmaps-android-app.md
  - https://yandex.com/dev/yandex-apps-launch-maps/doc/ru/concepts/yandexmaps-android-app.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/yandex-apps-launch-maps/doc/ru/llms.txt

# Запуск Android‑приложения Яндекс Карты

Информация, приведенная в этом разделе, актуальна для мобильного приложения [Яндекс Карты](https://mobile.yandex.ru/apps/maps/android/) версии 4 и выше.

Мобильные Яндекс Карты для платформы Android можно [запустить из Java‑приложения](https://yandex.com/dev/yandex-apps-launch-maps/doc/ru/index.md#androidapp) и со страницы, отображаемой в браузере. Для запуска используется URL-схема `yandexmaps`. При запуске приложение Яндекс Карты может выполнить следующие действия.

В разделе [Поддержка схемы geo](#additonalscheme) приведена информация о том, как открыть карту, используя другую URI-схему. При таком способе запуска у пользователя будет возможность выбрать, какое приложение открыть.

## Открыть карту {#openmaploc}

{% include [yandexmaps-ios-app-openmapintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/openmapintro-3748b48f7aed.md) %}


{% include [yandexmaps-ios-app-openmapcode](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/openmapcode-2695c90af1ed.md) %}


{% include [yandexmaps-ios-app-openmaptable](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/openmaptable-dafb808400b4.md) %}


{% include [yandexmaps-ios-app-openmap_note](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/openmap_note-7a517ab0a8c8.md) %}


Пример URL:

```text
yandexmaps://maps.yandex.ru/?[ll](*ll)=37.619902,55.753716&[z](*z)=11&[l](*l)=map
```

Пример HTML‑ссылки:

```text
<a href="yandexmaps://maps.yandex.ru/?[ll](*ll)=37.619902,55.753716&[z](*z)=11&[l](*l)=map">Карта Москвы</a>
```

Пример Java вызова:

```text
Uri uri = Uri.parse("yandexmaps://maps.yandex.ru/?[ll](*ll)=37.619902,55.753716&[z](*z)=11&[l](*l)=map");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-openmap.png)

## Поставить метку {#showpoint}

{% include [yandexmaps-ios-app-showpointintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/showpointintro-2c41603d9cca.md) %}


{% include [yandexmaps-ios-app-showpointcode](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/showpointcode-2695c90af1ed.md) %}


{% include [yandexmaps-ios-app-showpointtable](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/showpointtable-bcdf88e196dc.md) %}


{% include [yandexmaps-android-app-urlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/urlexample-1bbdff6521f3.md) %}


```text
yandexmaps://maps.yandex.ru/?[pt](*pt)=37.673098,55.757134&[z](*z)=12&[l](*l)=map
```

{% include [yandexmaps-android-app-htmlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/htmlexample-eb15528e34d4.md) %}


```text
<a href="yandexmaps://maps.yandex.ru/?[pt](*pt)=37.673098,55.757134&[z](*z)=12&[l](*l)=map">Метка</a>
```

{% include [yandexmaps-android-app-codeexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/codeexample-63610fb54a0b.md) %}


```text
Uri uri = Uri.parse("yandexmaps://maps.yandex.ru/?[pt](*pt)=37.673098,55.757134&[z](*z)=12&[l](*l)=map");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-showpoint.png)

## Найти объекты {#search}

{% include [yandexmaps-ios-app-searchintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/searchintro-08134655ffd6.md) %}


{% include [yandexmaps-ios-app-searchcode](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/searchcode-2695c90af1ed.md) %}


{% include [yandexmaps-ios-app-searchtable](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/searchtable-2f863c433c9e.md) %}


{% include [yandexmaps-android-app-urlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/urlexample-1bbdff6521f3.md) %}


```text
yandexmaps://maps.yandex.ru/?[ll](*ll)=37.619902,55.753716&[z](*z)=16&[text](*text)=кафе%20с%20wi-fi
```

{% include [yandexmaps-android-app-htmlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/htmlexample-eb15528e34d4.md) %}


```text
<a href="yandexmaps://maps.yandex.ru/?[ll](*ll)=37.619902,55.753716&[z](*z)=16&[text](*text)=кафе%20с%20wi-fi">Нашлось</a>
```

{% include [yandexmaps-android-app-codeexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/codeexample-63610fb54a0b.md) %}


```text
Uri uri = Uri.parse("yandexmaps://maps.yandex.ru/?[ll](*ll)=37.619902,55.753716&[z](*z)=16&[text](*text)=кафе%20с%20wi-fi");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-search.png)

## Открыть карточку организации {#org}

{% include [yandexmaps-ios-app-orgintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/orgintro-d3b3bc522197.md) %}


{% include [yandexmaps-ios-app-orgcode](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/orgcode-2695c90af1ed.md) %}

#|
||
**Параметр** | **Тип данных** | **Описание**
||
||
`oid`
|
int
|
Уникальный идентификатор организации в приложении Яндекс Карты.


{% note tip %}

Чтобы узнать идентификатор организации, откройте в мобильном приложении карточку организации и нажмите на значок ![](../_assets/ymaps-android-send.png) в правом верхнем углу экрана. Сформированная ссылка будет содержать идентификатор.

{% endnote %}
||
|#


{% include [yandexmaps-android-app-urlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/urlexample-1bbdff6521f3.md) %}


```text
yandexmaps://maps.yandex.ru/?[oid](*oid)=1221676748
```

{% include [yandexmaps-android-app-htmlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/htmlexample-eb15528e34d4.md) %}


```text
<a href="yandexmaps://maps.yandex.ru/?[oid](*oid)=1221676748">Музей</a>
```

{% include [yandexmaps-android-app-codeexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/codeexample-63610fb54a0b.md) %}


```text
Uri uri = Uri.parse("yandexmaps://maps.yandex.ru/?[oid](*oid)=1221676748");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-org.png)

## Показать «Что здесь?» {#whatshere}

{% include [yandexmaps-ios-app-whatshereintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/whatshereintro-df41f58e83ad.md) %}


{% include [yandexmaps-ios-app-openmapcode2](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/openmapcode2-40bb38d33c13.md) %}


{% include [yandexmaps-ios-app-whatsheretable](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/whatsheretable-f249668f97ab.md) %}


{% include [yandexmaps-android-app-urlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/urlexample-1bbdff6521f3.md) %}


```text
yandexmaps://?whatshere[[point](*whatshere-point)]=37.444075,55.776788&whatshere[[zoom](*whatshere-zoom)]=17
```

{% include [yandexmaps-android-app-htmlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/htmlexample-eb15528e34d4.md) %}


```text
<a href="yandexmaps://?whatshere[[point](*whatshere-point)]=37.444075,55.776788&whatshere[[zoom](*whatshere-zoom)]=17">Мост</a>
```

{% include [yandexmaps-android-app-codeexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/codeexample-63610fb54a0b.md) %}


```text
Uri uri = Uri.parse("yandexmaps://?whatshere[[point](*whatshere-point)]=37.444075,55.776788&whatshere[[zoom](*whatshere-zoom)]=17");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-whatshere.png)

## Построить маршрут {#buildroute}

{% include [yandexmaps-ios-app-buildrouteintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/buildrouteintro-27ea7ef5068c.md) %}


{% include [yandexmaps-ios-app-buildroutecode](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/buildroutecode-2695c90af1ed.md) %}


{% include [yandexmaps-ios-app-buildroutetable](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/buildroutetable-9ac8e5a2400d.md) %}



{% note info %}

Если тип маршрута не задан, используется значение, заданное в предыдущей пользовательской сессии. Если этих данных нет, по умолчанию строится автомобильный маршрут.

Тип карты в URL передать нельзя, параметры карты остаются такими же, как в предыдущей пользовательской сессии.

{% endnote %}


{% include [yandexmaps-android-app-urlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/urlexample-1bbdff6521f3.md) %}


```text
yandexmaps://maps.yandex.ru/?[rtext](*rtext)=55.745719,37.604337~55.76009,37.648801&[rtt](*rtt)=mt
```

{% include [yandexmaps-android-app-htmlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/htmlexample-eb15528e34d4.md) %}


```text
<a href="yandexmaps://maps.yandex.ru/?[rtext](*rtext)=55.745719,37.604337~55.76009,37.648801&[rtt](*rtt)=mt">Как добраться</a>
```

{% include [yandexmaps-android-app-codeexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/codeexample-63610fb54a0b.md) %}


```text
Uri uri = Uri.parse("yandexmaps://maps.yandex.ru/?[rtext](*rtext)=55.745719,37.604337~55.76009,37.648801&[rtt](*rtt)=mt");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-buildroute.png)

## Показать панораму в заданной точке {#streetview}

{% include [yandexmaps-ios-app-streetviewintro](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/streetviewintro-a92a0bac14eb.md) %}


{% include [yandexmaps-ios-app-openmapcode2](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/openmapcode2-40bb38d33c13.md) %}


{% include [yandexmaps-ios-app-streetviewtable](../_includes/concepts/yandexmaps-ios-app/id-yandexmaps-ios-app/streetviewtable-5ca29c2866e9.md) %}


{% include [yandexmaps-android-app-urlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/urlexample-1bbdff6521f3.md) %}


```
yandexmaps://?panorama[[point](*panorama-point)]==37.444075,55.776788&panorama[[direction](*panorama-direction)]==228.970000,6.060547&panorama[[span](*panorama-span)]==130.000000,71.919192
```

{% include [yandexmaps-android-app-htmlexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/htmlexample-eb15528e34d4.md) %}


```text
<a href="yandexmaps://?panorama[[point](*panorama-point)]==37.444075,55.776788&panorama[[direction](*panorama-direction)]==228.970000,6.060547&panorama[[span](*panorama-span)]==130.000000,71.919192">Мост</a>
```

{% include [yandexmaps-android-app-codeexample](../_includes/concepts/yandexmaps-android-app/id-yandexmaps-android-app/codeexample-63610fb54a0b.md) %}


```text
Uri uri = Uri.parse("yandexmaps://?panorama[[point](*panorama-point)]==37.444075,55.776788&panorama[[direction](*panorama-direction)]==228.970000,6.060547&panorama[[span](*panorama-span)]==130.000000,71.919192");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

![](../_assets/ymaps-android-app-streetview.png)


## Поддержка схемы geo {#additonalscheme}

Приложение Яндекс Карты поддерживает схему [geo](http://developer.android.com/guide/appendix/app-intents.html). Эту схему поддерживают и другие Android‑приложения. Следующий пример демонстрирует, как открыть карту Сиэтла.

Координаты центра карты и масштаб указываются в [URI](https://developer.android.com/guide/components/intents-common.html#Maps).

```text
// Открываем карту Сиэтла.
Uri uri = Uri.parse("geo:47.6,-122.3?z=11");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
```

Если на мобильном устройстве пользователя установлено несколько подходящих приложений, пользователю будет предложено выбрать, в каком из них открыть карту.

{% note tip %}

Перед вызовом метода `startActivity` можно проверить, [установлено ли приложение Яндекс Карты](https://yandex.com/dev/yandex-apps-launch-maps/doc/ru/index.md#aboutgplay) на устройстве пользователя.

{% endnote %}


[*ll]: {% include notitle [ll](../_includes/popups-14000baac3c6.md#ll) %}

[*z]: {% include notitle [z](../_includes/popups-14000baac3c6.md#z) %}

[*l]: {% include notitle [l](../_includes/popups-14000baac3c6.md#l) %}

[*pt]: {% include notitle [pt](../_includes/popups-14000baac3c6.md#pt) %}

[*text]: {% include notitle [text](../_includes/popups-14000baac3c6.md#text) %}

[*rtext]: {% include notitle [rtext](../_includes/popups-14000baac3c6.md#rtext) %}

[*oid]: {% include notitle [oid](../_includes/popups-14000baac3c6.md#oid) %}

[*rtt]: {% include notitle [rtt](../_includes/popups-14000baac3c6.md#rtt) %}

[*panorama-point]: {% include notitle [panorama-point](../_includes/popups-14000baac3c6.md#panorama-point) %}

[*panorama-direction]: {% include notitle [panorama-direction](../_includes/popups-14000baac3c6.md#panorama-direction) %}

[*panorama-span]: {% include notitle [panorama-span](../_includes/popups-14000baac3c6.md#panorama-span) %}

[*whatshere-point]: {% include notitle [whatshere-point](../_includes/popups-14000baac3c6.md#whatshere-point) %}

[*whatshere-zoom]: {% include notitle [whatshere-zoom](../_includes/popups-14000baac3c6.md#whatshere-zoom) %}
