[android] Convert GeoJSON features to tiles in background
Composing tiles from the GeoJSON features is an expensive operation that might block UI thread on updating the `GeoJsonSource` with the new data. This change moves tile composing to the background thread and thus unblocks the UI thread.
This commit is contained in:
@@ -60,6 +60,7 @@ public:
|
||||
void setGeoJSONData(std::shared_ptr<GeoJSONData>);
|
||||
|
||||
optional<std::string> getURL() const;
|
||||
const GeoJSONOptions& getOptions() const;
|
||||
|
||||
class Impl;
|
||||
const Impl& impl() const;
|
||||
|
||||
Reference in New Issue
Block a user