diff options
author | Leith Bade <leith@mapbox.com> | 2015-10-20 22:37:50 +1100 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2015-10-22 17:07:10 +1100 |
commit | 8b79a8d6e63c6ae927dc32770ffeadd58be023e7 (patch) | |
tree | b4e588269f7a92b51f247e650409adfd17ec49e7 /include | |
parent | 729a793b0eb55f3016bff54cf7fe22039b10b76e (diff) | |
download | qtlocation-mapboxgl-8b79a8d6e63c6ae927dc32770ffeadd58be023e7.tar.gz |
[android] Implement UserLocationView
Draws animated and synced GPS marker.
Inlcudes direction arrow and accuracy ring.
Fade out the compass after a delay when reset to north.
Lots of other performance and memory improvements.
add OnMyLocationChangeListener
Move FAB with snackbar
Fix getMetersPerPixelAtLatitude
Fix some incorrect annotations
Fixes #2668
Fixes #2411
Fixes #2678
Fixes #2675
Fixes #2566
Fixes #2549
Fixes #2692
Fixes #2572
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/android/native_map_view.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/mbgl/android/native_map_view.hpp b/include/mbgl/android/native_map_view.hpp index 0908f75630..7b5473d48c 100644 --- a/include/mbgl/android/native_map_view.hpp +++ b/include/mbgl/android/native_map_view.hpp @@ -50,8 +50,6 @@ public: void enableFps(bool enable); void updateFps(); - void renderSync(); - void resizeView(int width, int height); void resizeFramebuffer(int width, int height); @@ -89,6 +87,9 @@ private: int availableProcessors = 0; size_t totalMemory = 0; + jboolean renderDetach = false; + JNIEnv *renderEnv = nullptr; + // Ensure these are initialised last std::shared_ptr<mbgl::SQLiteCache> fileCache; std::unique_ptr<mbgl::DefaultFileSource> fileSource; |