Skip to content
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

dismissing calloutview and try to open it again... #30

Closed
fvisticot opened this issue Mar 21, 2013 · 2 comments
Closed

dismissing calloutview and try to open it again... #30

fvisticot opened this issue Mar 21, 2013 · 2 comments

Comments

@fvisticot
Copy link

I have added an Annotation object with title / subtitle to the mapview
I can click on the marker and the calloutview is correctly displayed.

The onAnnotationClicked callback is correctly called when I click on the calloutView.

In the onAnnotationClicked method, I would like to close this current calloutview.
For that, I'm using:
the calloutView.dismiss(Boolean.FALSE);

The callout is correctly closed but I need to wait several seconds before he could be displayed again...

Is it due to a wrong method call to close the callout view ?

@cyrilmottier
Copy link
Owner

Have you tried calling mPolarisMapView.setSelectedAnnotation(PolarisMapView.INVALID_POSITION) instead ?

@fvisticot
Copy link
Author

Works fine with setSelectedAnnotation !!

Tx a LOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants