calloutview
calloutview copied to clipboard
Increase Callout Popup delay
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!
@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.
@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!
I'm Mapbox, too. :wink:
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.
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!
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