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

Increase Callout Popup delay #95

Open
trdavidson opened this issue Nov 14, 2015 · 5 comments
Open

Increase Callout Popup delay #95

trdavidson opened this issue Nov 14, 2015 · 5 comments

Comments

@trdavidson
Copy link

Strangest thing: when I start a session on my iPhone 6 using a MapBox map, and SMCallouts, all annotations are very responsive as expected. However, as the session goes on, the delegate still reads out a annotation gets touched but the callout takes longer and longer to appear. This problem started surfacing around my update to iOS9, so it might be related.

Please let me know if you have any thoughts as it is driving me crazy! Thanks!

@friedbunny
Copy link
Contributor

@trdavidson This sounds like a Mapbox problem — the old/raster Mapbox iOS SDK is deprecated, but if you run into this issue with the new SDK, please consider opening a ticket at mapbox/mapbox-gl-native with more information.

@trdavidson
Copy link
Author

@friedbunny thanks for getting back to me! Yea I figured as much.. unfortunately the mapbox-gl-native framework doesn't work all that well yet to handle the customization needed in my project. Do you have any idea what might be the cause of the problem in mapbox? It feels the map is somehow enqueuing touch events making it slower and slower. I reached out to Mapbox last week, and also posted questions on Stack calling out @incanus, but no response on their part... thanks again!

@friedbunny
Copy link
Contributor

I'm Mapbox, too. 😉

I couldn't really speculate on what's causing your issue, as the raster SDK is an old and weary beast that will only encounter more and more issues as iOS releases pile up. You might use the time profiler instrument to see where the delay is coming from — hopefully it's somewhere in your code.

@trdavidson
Copy link
Author

Haha ok - happy with the reply! I'll keep an eye out for GL updates in that case and will try to move over as quickly as I can. Thanks!

@daviddelmonte
Copy link

This isn't an issue, but a request, if it's possible. I want to change map pins in an app, when the MapType is changed. Some pins look better on a dark background, some do not. I want, that when a user taps a different map type, the pin changes.. All within CalloutView ;)

Thanks
David

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

3 participants