Share a map

You can share a fragment of Yandex Maps, a place you've found, or a route you've set.

To do this, follow these steps:

For more information on how to copy a link to a map you created yourself, see Map Constructor.

In other cases, use the Yandex Maps API.

Get a link

  1. Click:

    • The button on the map and select Share.

    • Alternatively, you can click in the panorama.

  2. In the window that opens:

    • Click the icon of the desired social network to publish the link automatically.
    • Copy the link to share it with another user.

Embed a map widget

You can publish map widgets on your site or blog.

To do this, use the automatically generated code:

  1. In the top-right corner of the page, click .

  2. Select Share.

  3. Copy the code from the Widget with map field to display the map or a specific place or route on your website.

    To see how the map will look on your site, click Preview.

  4. To use a localized map on your site, edit the embed code.

    Add the lang parameter to the copied code to specify the language and region of the map interface.

    The parameter value includes:

    • Language code: ru — Russian, uk — Ukrainian.
    • Region code: for example, RU — Russia, UA — Ukraine.

    For example, lang="tr_TR" means the Turkish language used in Turkey.

    For Russia and Ukraine, the region and language of the map interface are determined by the Yandex User ID settings. For example, if the user's language in Yandex ID is Russian, they are located in Kyiv, and the map they're viewing was created in RU or UA, they'll see the map in Russian but localized for Ukraine.

    Code example
    • The parameter is omitted:

      <iframe src="https://api-maps.yandex.ru/frame/v1/-/CVh7YBYg?" width="560" height="400" frameborder="0"></iframe>

      If you don't specify the lang parameter, the region and language of the map interface are determined based on the map settings you had when generating the code.

    • The parameter is specified (English for Russia):

      <iframe src="https://api-maps.yandex.ru/frame/v1/-/CVh7YBYg?lang=en_RU" width="560" height="400" frameborder="0"></iframe>

      Page URL: https://api-maps.yandex.ru/frame/v1/-/CVh7YBYg?lang=en_RU

      If the lang parameter is specified, the region is dictated by its value regardless of where the map was created.

    Supported values:

    • ru_RU: Russian, Russia

    • en_US: English, USA

    • en_RU: English, Russia

    • ru_UA: Russian, Ukraine

    • uk_UA: Ukrainian, Ukraine

    • tr_TR: Turkish, Turkey

    This parameter is similar to the "lang" parameter that is used in .

Note.

The distance is shown in kilometers for RU, UA, and TR, and in miles for US.