| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The location under your finger stays under your finger as you pan.
The location you double tap to zoom stays at the same point.
The location at the center of a pinch zoom stays at the center.
The location at the center of a rotation stays at the center.
|
|
|
|
| |
We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object.
|
| |
|
|
|
|
| |
It's not implemented in GCC 4.9.2's stdlib (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57250). Instead, we're now always using a mutex to protect access; we previously created a mutex only on cancelation, but since we're always canceling now, it makes sense to allocate it right away.
|
|
|
|
| |
We're now returning stale responses from cache. Those responses will have the `stale` flag set to true. Currently, all requesters in the core code discard stale responses, and cancel the request immediately after they got a non-stale response.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Adding new mbgl::GLContextMode enum to mbgl::Map ctor, which gets stored
in MapData. In shared GL context environments, we cannot assume that the
GL state that has been left since the last draw is the same, so we reset
the GL configurations to their default values.
|
|
|
|
|
| |
This introduces the possibility to source the type and style properties
of a shape annotation from a designated layer in the style.
|
| |
|
|
|
|
|
|
| |
The new styleURL__ inspectable property is carefully named to masquerade as a URL property in Interface Builder, even though IB supports no such thing.
If the user enters an invalid URL into the “Style URL” inspectable, throw an error instead of silently setting the style to the default. This check is not required in -setStyleURL:, which takes a real NSURL.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unimplemented properties.
Correct defintions of equals() and hasCode().
Add setOnInfoWindowClickListener and remove old method from Marker.
Refactor showInfoWindow() to remove need for exposing internal method.
Make select/deselectMarker public. Add getSelectedMarker.
Fix bug where you couldn't reselect a closed info window.
Add empty constructor to LatLng and LatLngZoom.
Fixes #2546
Fixes #2631
Fixes #2448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Change Marker sprite() to icon() and use Sprite class
Load a Maki dog icon in test app
Fixes #2506
|
|
|
|
|
| |
Some platforms requires specific information that was previously not
available in public API, but stored internally in TransformState object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #2522
|
|
|
|
| |
Fixes #2503
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds these delegate methods that were missing:
- `mapView:annotation:calloutAccessoryControlTapped:`
- `mapView:didSelectAnnotation:`
- `mapView:didDeselectAnnotation:`
Adds these section headers that were missing:
- Responding to Map Position Changes
- Managing Annotations
- Selecting Annotations
Also reorders the sections by priority and grouping.
Fixes #2514
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|