Share a link

Send a link

Share a map fragment

There are two ways to share a map fragment and the results that are displayed on it (for example, you can share a place you found or a route you set):

  • Copy the URL from your browser search field; other users can view the same map fragment if they click on that link.

  • Click Share on the map.

    In the form that opens, you can either click on the icon for the appropriate social network to post a link automatically, or copy the link to the map in order to send it to another user.

Share a street panorama fragment

Click Share on the street panorama.

In the form that opens, you can either click on the icon for the appropriate social network to post a link automatically, or copy the link in order to send it to another user.

Share your map

If you created your own map, you can copy a link to it and share it with friends. For more information, see My maps (map builder).

Post a map or street panorama on your site or blog

Post a map fragment

Click Share on the map.

In the form that opens, copy the code to insert the map onto your site. Then you can use the map and results displayed on it on your site (for example, to display places or routes).

Click Preview to see how the map will look on your site:

You can modify the map code so that toponyms and map functions are localized to your target language (to account for country-specific phenomena). For example, you can change the units of measurement (kilometers or miles) used to determine the distance between places and speed en route.

To localize this function, copy the parameter code lang. This parameter determines the interface language and area of the map that will display on the site. Parameter values are specified using the ISO 639-1 format for indicating language codes (for example, ru — Russian, uk — Ukrainian), and the ISO 3166-1 format for indicating region codes (for example, RU — Russia, UA — Ukraine). So the entry lang="tr_TR" designates that Turkish is used and the country is Turkey.

For example:

  • parameter not specified —

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

  • parameter specified (English for Russia) —

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

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

If the lang parameter is not specified, then the map region and language will be determined by the map settings at the time the code is received. For Russia and Ukraine, the map region and language will be determined by the settings in the user's passport. For example, if the user's passport language is Russian and they are viewing a map in Kiev that was created somewhere in RU or UA, then the map will display in Russian, but be localized to Ukraine.

If the lang parameter is specified, then the region will be determined by the value that was set regardless of where the map was created.

Supported parameter 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

Note.

For the territories of RU, UA and TR, distance is shown in kilometers. For the US — in miles.

A parameter similar to lang is used in .

Post your map

If you built a map, you can copy the code to insert it on your site and then use the map there. For more information, see My maps (map builder).

Post a street panorama fragment

Click Share on the street panorama.

Click Insert on site in the form that appears.

Specify the street panorama dimensions in pixels and copy the code to insert it onto your site.

You can post a map or street panorama fragment on your site or blog using . The API gives you access to the entire contents of Yandex.Maps, including hundreds of detailed city maps, satellite images, etc. You can also create your own map and post all your places and commentary on it (see My maps (map builder)).