Repository navigation
6264 mutable geojson - #6347
6264 mutable geojson#6347
Conversation
|
@tobrun, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh, @mourner and @incanus to be potential reviewers. |
|
This approach looks good! Can you refactor it so that the |
5ec8137 to
0b69453
Compare
There was a problem hiding this comment.
I don't believe a GeoJSONSource::setTileData method is necessary, only GeoJSONSource::Impl::setTileData. Remember, GeoJSONSource = public core API, GeoJSONSource::Impl = internal API.
There was a problem hiding this comment.
Spacing nit: for (const auto& item : tiles).
There was a problem hiding this comment.
Avoid the need for a static_cast here by assigning to a auto tilePointer = ..., so that the inferred type is std::unique_ptr<GeoJSONTile>. (If the compiler then complains about the return statement, make it return std::move(tilePointer).)
0b69453 to
728906d
Compare
728906d to
41d811b
Compare
References #6264, this PR follows approach as documented in OP:
cc @mollymerp