| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, move style mutation code out of StyleParser and into AnnotationManager,
coalescing it with the mutation code for shape layers.
Second, allow AnnotationManager to keep track of stale tiles entirely
internally. There's no reason to pass sets of TileIDs around.
Third, correct the logic for invalidating the shape source. Since
AnnotationManager does not track shape invalidations on a tile-by-tile basis,
don't try to invalidate the shape source tile-by-tile.
Fixes #1675
Fixes #2322
Fixes #2095
|
|
|
|
|
|
|
|
|
|
| |
Move expensive cache size calulation to initialisation
Fix setGestureInProgress bug
Renamed several functions to match current usage
Refactor map updates to reduce GPS marker lag
Fixes #1676
Fixes #2290
Fixes #2396
|
|
|
|
|
| |
Add missing asserts to attach_jni_thread/detach_jni_thread
Fixes #2406
|
|
|
|
| |
Fix a memory leak of NativeMapView Java object
|
|
|
|
| |
Fixes #1941
|
|
|
| |
Occurs when targeting a 32-bit architecture
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level.
Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course.
Support customizable timing functions on iOS.
iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation.
Fixes #1643, fixes #1834. Ref #1581.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Drag two fingers upward to tilt the map.
Implements #2116
|
| | |
|
| |
| |
| |
| |
| | |
port pointCoordinate from -js to convert screen points to tile
coordinates correctly in perspective view.
|
| |
| |
| |
| |
| | |
Use higher precision for matrix calculations so that the map does not
jump around while zooming.
|
| | |
|
|/
|
|
|
| |
To be able to resize the framebuffer on the map thread
in HeadlessView.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
As specified in:
https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json
Part of #1740.
|
|/ |
|
|
|
|
|
|
| |
Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed.
Fixes #1605.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
Closes #823
|
|/ |
|
|
|
|
|
|
|
|
| |
Clients no longer need to provide data (eg. if gesturing or in a custom
animation) to Map::nudgeTransitions().
Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData
allows thread-safe communication between Map and MapContext.
|
| |
|
| |
|
|
|
|
| |
some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android
|
| |
|
| |
|
|
|
|
| |
With #1026 the region delegate methods work reliably and as expected. This commit adds `mapView:regionWillChangeAnimated:`, `mapViewRegionIsChanging:`, and `mapView:regionDidChangeAnimated:` to the official documentation.
|
|
|
|
|
|
|
|
|
| |
Hook up collisionDebug, isFullyLoaded, onLowMemory in Android
Rename class to styleClass in Java to match iOS
Fixed some formatting
Fixes #1905
Fixes #1946
Fixes #1263
|
|
|
|
|
|
|
|
| |
We're now using nudgeTransitions() to tell the Map view that we want to
update it. However, if we're on a gesture movement, the update() call
can get called too fast and causing general slowdown. This check ensures
we only call for nudgeTransitions() after all gesture events are
finished. Fixes the issue pointed out by #1548 on Android.
|
|
|
|
|
|
|
| |
Added a setter/getter for default transition delay, in the same fashion
as the default transition duration.
Spin-off from #1888. Fixes #302.
|
|
|
|
|
|
| |
syncing""
This reverts commit 263f9fad308873077b9287dd8aeab089fc415b10.
|
|
|
|
|
|
| |
This reverts commit b8388168dd130c67c77254565cdb576df7905915.
It seems 'nudgeTransitions()' is no longer necessary as #1548 has fixed the update issues.
|
|\ |
|
| | |
|
| |
| |
| |
| | |
So it doesn’t show up in the generated docset.
|