Skip to content

Overview

Experimental library

This library is author's development for usage in self projects that he published for open source community. It is not production-ready solution. It is ready for your experiments and contribution. Don't think that everything works fine, it was not tested as well

What is Yandex MapKit KMP project?

Kotlin Compose Multiplatform Maven Central License badge-android badge-ios

Kotlin-first SDK for Yandex MapKit. It's API is similar to the Yandex MapKit SDK but also supports multiplatform projects and compose multiplaform, enabling you to use MapKit directly from your common source targeting iOS or Android.

Info

It is not Yandex's project. Author has no connection with original SDK, it is wrapper above official Yandex MapKit SDK. Official YMK documentation page: https://yandex.ru/dev/mapkit/doc/

API coverage 60%

  • Yandex MapKit lite version
    • MapKit, MapView, MapWindow, Map, MapObjects, Geometrys, Logo, CameraPosition and etc
    • LocationManager and UserLocationLayer
    • Different event listeners and callbacks
    • ImageProvider
  • Composable YandexMap
    • Drawing MapView using Compose Multiplatform
    • Control Camera Position
    • Compose nodes based drawing map objects like composable functions Placemark, Circle, Polygon, Polyline
    • Experimental compose content as Placemark's image
  • Not supported yet
    • Yandex MapKit full version
    • Custom layers
    • Map downloading
    • GeoObjects

Warning

Library is under development and not all API is available.

Mission of wrapper with KMP support

  • Ability to write MapKit control in common sources
  • Support for Compose UI with two variants of API
  • Support for multiplatform resources via moko-resources and compose multiplatform resource.
  • Not to rewrite official API. Official docs is useful in most cases for yandex-mapkit-kmp module.
  • Quick migration, just change package name from com.yandex.mapkit to ru.sulgik.mapkit.

Author