-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MarkerView is not removed from the MapView #27
Comments
Hi, You should use private fun removeAnimMarker() {
mapView.removeMarker(animMarker)
} |
Hi @peterLaurence. It does not work though I changed the code as you answered. sample2.mp4 |
Hi @sana-20 , I can't reproduce your issue. I've updated the demo of MapView to showcase how to remove a marker. Inside the "Map and Markers demo", you'll see a red circular marker which you can remove/add using the button at the bottom. I suggest that you make a github repo reproducing your issue. |
Hi @peterLaurence, I really appreciate your help. See the code here. |
Indeed, with an animation set, I could reproduce. private fun removeAnimMarker() {
animMarker?.clearAnimation()
mapView.removeMarker(animMarker)
} You can use this fix in the meantime. I'll add |
Hi Peter.
I added a custom marker with an animation but it is not removed from the mapview.
This method is called when the grey star button is clicked.
This method is called when the yellow star button clicked again.
Do you have any clue to solve this?
sample.mp4
The text was updated successfully, but these errors were encountered: