androidyandex-maps

Get screenshot from yandex map kit


I have yandex.yandexmapkit.MapView. I want to create the screenshot from it.

How can I get screenshot from yandex map kit?


Solution

  • There are two ways.

    First one is using the static Yandex map API (sometimes you aren't need to use complex Mapkit):

    http://static-maps.yandex.ru/1.x/?lang=ru-RU&ll=32.810152,39.889847&size=450,450&z=10&l=map

    The second way is drawing MapView into Bitmap and it's not difficult.