This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Speed up GeoJSON conversion in GeoJsonSource #8483
Labels
Android
Mapbox Maps SDK for Android
performance
Speed, stability, CPU usage, memory usage, or power usage
Currently, when setting data as a FeatureCollection on a GeoJsonSource, the data is serialised to a string, transferred over JNI to the c++ peer object where it is deserialised with rapidJSON. This comes at a high performance penalty.
Instead we should convert straight from the MAS GeoJson to mapbox::geojson::geojson.
The text was updated successfully, but these errors were encountered: