You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @peterLaurence! Thank you for this great library. It really helped me a lot.
But a marker callout disappeared as soon as I touch a map.
Is there any way that I could keep marker callout view even though I click or move the map?
The text was updated successfully, but these errors were encountered:
Hi, this is intended behavior. You can turnaround this by subclassing the MapView and override onTouchEvent method, like so:
override fun onTouchEvent(event: MotionEvent): Boolean {
return super.onTouchEvent(event)
}
However, you'll have to manage callouts visibility yourself. To remove them all, use mapView.markerLayout?.removeAllCallout(). To remove one particular callout, you can use mapView.removeCallout(view).
BTW, I realize that I should add a high level API to remove all callouts.
Hello @peterLaurence! Thank you for this great library. It really helped me a lot.
But a marker callout disappeared as soon as I touch a map.
Is there any way that I could keep marker callout view even though I click or move the map?
The text was updated successfully, but these errors were encountered: