summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core] Added MetersBoundsBruno de Oliveira Abinader2015-11-113-18/+20
|
* [core] Use PrecisionPoint in zoom and angle functionsBruno de Oliveira Abinader2015-11-111-7/+8
|
* [core] Use pass-by-ref in CameraOptionsBruno de Oliveira Abinader2015-11-111-4/+4
| | | | | | | | Pass-by-const-ref is not always possible because CameraOptions gets its members modified along the way. Also fixes a case in Map::jumpTo where Update::Zoom should be called if zoom is affected.
* [core] Use PrecisionPoint in coordinate functionsBruno de Oliveira Abinader2015-11-111-7/+7
|
* [core] Added PrecisionPoint to represent pixel pointsBruno de Oliveira Abinader2015-11-112-2/+16
|
* [core] Added isValid to geo helper structsBruno de Oliveira Abinader2015-11-111-0/+12
|
* [core] Eliminate use of ClassProperties for paintJohn Firebaugh2015-11-103-120/+19
|
* [core] Eliminate use of ClassProperties for layoutJohn Firebaugh2015-11-101-64/+0
|
* [core] Expose default fade duration to Map APIBruno de Oliveira Abinader2015-11-101-2/+5
|
* [core] move retry logic to DefaultFileSourceKonstantin Käfer2015-11-022-6/+33
|
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-304-2/+72
| | | | | | | | | | Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles. Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs. Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles. /ref #1462
* [node] Output debug logs when a render test times outJohn Firebaugh2015-10-281-0/+1
|
* improve gestures in perspective viewAnsis Brammanis2015-10-261-0/+1
| | | | | | | 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.
* [core] reparse tiles when new data arrivesKonstantin Käfer2015-10-261-0/+1
| | | | 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.
* [core] Make response data shared to avoid excessive copyingKonstantin Käfer2015-10-261-1/+1
|
* [core] do not use std::atomic_* with shared_ptrsKonstantin Käfer2015-10-261-4/+4
| | | | 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.
* [core] add support for stale responsesKonstantin Käfer2015-10-261-0/+4
| | | | 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.
* IB inspectable for allowing tiltMinh Nguyễn2015-10-231-0/+1
|
* [core] Added save/restore capabilities to GL configBruno de Oliveira Abinader2015-10-221-0/+4
|
* [core] Added GLContextMode to MapDataBruno de Oliveira Abinader2015-10-222-3/+9
| | | | | | | 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.
* [core] Style-sourced shape annotation propertiesJohn Firebaugh2015-10-221-4/+7
| | | | | This introduces the possibility to source the type and style properties of a shape annotation from a designated layer in the style.
* [iOS] Removed long-unavailable APIsMinh Nguyễn2015-10-222-14/+0
|
* [iOS] Replaced styleID property with styleURL__ inspectableMinh Nguyễn2015-10-222-8/+6
| | | | | | 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.
* [core] Introduce StyleLayer subclassesJohn Firebaugh2015-10-222-16/+10
|
* [core] Rationalize style property classes: <type>{Paint,Layout}PropertiesJohn Firebaugh2015-10-221-32/+92
|
* add setSetVisibleCoordinateBounds api as already in iOSManabu-GT2015-10-221-0/+7
|
* [android] Refactor annotations APILeith Bade2015-10-221-4/+0
| | | | | | | | | | | | | 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
* [android] Implement UserLocationViewLeith Bade2015-10-221-2/+3
| | | | | | | | | | | | | | | | | | | 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
* [android] Fix bug in setSprite when calculating pixel data sizeLeith Bade2015-10-221-4/+4
| | | | | | Change Marker sprite() to icon() and use Sprite class Load a Maki dog icon in test app Fixes #2506
* [core] Added more transform state gettersBruno de Oliveira Abinader2015-10-211-0/+4
| | | | | Some platforms requires specific information that was previously not available in public API, but stored internally in TransformState object.
* [core] Annotation refactorJohn Firebaugh2015-10-203-10/+6
|
* [core] Pull annotation typedefs to own header; add AnnotationIDJohn Firebaugh2015-10-203-16/+29
|
* [ios] tweaks to match code style for 1a5c452 callout tap handlerJustin R. Miller2015-10-121-6/+5
|
* Forwards the SMCalloutView tap delegateMaciej Swic2015-10-121-0/+6
|
* VAO and extension tracking code.Adam Hunter2015-10-061-0/+32
|
* Correctly handle spurious wake-ups in Map::pause()Leith Bade2015-10-061-1/+0
| | | | Fixes #2522
* [ios] update MGLMapView inline docs for v8 stylesJason Wray2015-10-021-2/+2
| | | | Fixes #2503
* [ios] describe radians↔degrees functionsJason Wray2015-10-021-0/+2
|
* [ios] fix unintentional omission of delegate sections & methods from docsJason Wray2015-10-021-94/+94
| | | | | | | | | | | | | | | | 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
* [ios] fixes #2490: add annotation image enabled propertyJustin R. Miller2015-10-021-0/+5
|
* [ios] fixes #2491: document MGLAnnotationImageJustin R. Miller2015-10-011-2/+18
|
* mason variant@1.0Mike Morris2015-09-307-1033/+5
|
* [node] Handle tiles which 404 betterbsudekum2015-09-291-1/+1
|
* Added GL logging utilityAdam Hunter2015-09-291-0/+40
|
* Rewrite annotation invalidation strategyJohn Firebaugh2015-09-281-0/+1
| | | | | | | | | | | | | | | | 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
* Refactor Android render loop to limit frame rate to 60 FPSLeith Bade2015-09-241-3/+1
| | | | | | | | | | 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
* Refactor NativeMapView to hold std::unique_ptr to Map and DefaultFileSourceLeith Bade2015-09-241-2/+2
| | | | | Add missing asserts to attach_jni_thread/detach_jni_thread Fixes #2406
* Improve handling of cancelled HTTP requestsLeith Bade2015-09-231-1/+1
| | | | Fix a memory leak of NativeMapView Java object
* Fix freezing on Android when rotatingLeith Bade2015-09-221-0/+1
| | | | Fixes #1941
* Remove implicit conversion from double → floatEric Horacek2015-09-191-1/+1
| | | Occurs when targeting a 32-bit architecture