Repository navigation
[core] style loaded signal - #6371
Conversation
|
@ivovandongen, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh, @1ec5 and @incanus to be potential reviewers. |
There was a problem hiding this comment.
We probably need a signal for style loading failures. In case of parsing error, the MapChangeDidFinishLoadingStyle will be emitted here.
There was a problem hiding this comment.
In that case, does it make more sense to add the signals to the Style itself?
In https://github.com/mapbox/mapbox-gl-native/blob/master/src/mbgl/style/style.cpp#L95 we can best check for parse errors.
There was a problem hiding this comment.
@tmpsantos to keep things clean, I've added a method to the observer on Style and kept the signal emitting in Map.
ad801d7 to
c51baaa
Compare
There was a problem hiding this comment.
No need to redefine this callback.
c51baaa to
5688526
Compare
5688526 to
2f62f97
Compare
|
@tmpsantos I've committed the changes you requested. Let me know if there's anything else or that it can be merged. |
|
|
Fixes #4527
Needed to properly time callbacks in #6032