JPSThumbnailAnnotation icon indicating copy to clipboard operation
JPSThumbnailAnnotation copied to clipboard

Not Showing for first time

Open ShoaibHussan1 opened this issue 10 years ago • 5 comments

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

ShoaibHussan1 avatar Feb 18 '15 11:02 ShoaibHussan1

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

jpsim avatar Feb 19 '15 07:02 jpsim

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

ShoaibHussan1 avatar Feb 19 '15 07:02 ShoaibHussan1

Does calling that show the annotations?

jpsim avatar Feb 19 '15 09:02 jpsim

Not showing

ShoaibHussan1 avatar Feb 19 '15 10:02 ShoaibHussan1

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.

jpsim avatar Feb 19 '15 11:02 jpsim