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

Not Showing for first time #20

Open
ShoaibHussan1 opened this issue Feb 18, 2015 · 5 comments
Open

Not Showing for first time #20

ShoaibHussan1 opened this issue Feb 18, 2015 · 5 comments

Comments

@ShoaibHussan1
Copy link

i m adding these on follwowing way
dispatch_async(dispatch_get_main_queue(), ^{
//add here
});
but not working for the first time

@jpsim
Copy link
Owner

jpsim commented Feb 19, 2015

You'll have to redraw the map after adding annotations in your dispatch block.

@jpsim jpsim closed this as completed Feb 19, 2015
@ShoaibHussan1
Copy link
Author

is method
dispatch_async(dispatch_get_main_queue(), ^{
[mapView addAnnotation:[JPSThumbnailAnnotation annotationWithThumbnail:thumbnail]];
[mapView reloadInputViews];
});
is enough for that..?

@jpsim
Copy link
Owner

jpsim commented Feb 19, 2015

Does calling that show the annotations?

@ShoaibHussan1
Copy link
Author

Not showing

@jpsim jpsim reopened this Feb 19, 2015
@jpsim
Copy link
Owner

jpsim commented Feb 19, 2015

Ok, I reopened the issue in case it's a bug with this library. Could you please share code or fork the example showing this issue in practice? It would help me identify what might be going wrong.

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