Last active
January 23, 2024 17:27
-
-
Save stakancheck/f60fd069031ee95ae95aa9e8dbb34ccc to your computer and use it in GitHub Desktop.
YandexMapProtocol.kt (iosMain)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface YandexMapProtocol { | |
val viewController: UIViewController | |
fun addCameraListener(onDragged: () -> Unit) | |
fun addMapListener(onPositionSelect: (latitude: Double, longitude: Double) -> Unit) | |
fun addMapPointListener(onPointClick: (id: Long) -> Unit) | |
fun onMapStop() | |
fun onMapStart() | |
fun onMapMove(latLng: LatLng) | |
fun updateCustomPoint(latLng: LatLng? = null, visible: Boolean = true) | |
fun updateMyPoint(latLng: LatLng? = null, visible: Boolean = true) | |
fun updatePointsCollection(points: List<PointMapModel>) | |
fun setupFocusRect(bottomFocusAreaPadding: Int) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment