summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Create SharedSQLiteCacheLeith Bade2015-09-162-1/+11
|
* [iOS] Fix MGLPolyline documentation typoJason Wray2015-09-111-1/+1
|
* [iOS] Move radians/degrees conversion functions to MGLGeometry.hJason Wray2015-09-111-0/+11
|
* CameraOptionsMinh Nguyễn2015-09-077-14/+272
| | | | | | | | | | | | 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.
* fix missing docs parameterJustin R. Miller2015-09-041-1/+1
|
* refs #2039: add passthroughs for adding/removing overlaysJustin R. Miller2015-09-041-0/+33
|
* Get rid of MapData::{get,set}NeedsRepaintBruno de Oliveira Abinader2015-09-021-1/+0
|
* Substitute nudgeTransitions with async view invalidationBruno de Oliveira Abinader2015-09-021-3/+0
|
* Merge branch 'master' into nodeJohn Firebaugh2015-08-315-5/+41
|\
| * implement annotation marker tap recognition in AndroidJustin R. Miller2015-08-281-0/+7
| |
| * iOS perspective gesture supportJason Wray2015-08-262-0/+22
| | | | | | | | | | | | Drag two fingers upward to tilt the map. Implements #2116
| * add map.setPitch(pitch) and map.getPitch()Ansis Brammanis2015-08-241-0/+4
| |
| * load correct covering tiles in perspective viewAnsis Brammanis2015-08-241-0/+1
| | | | | | | | | | port pointCoordinate from -js to convert screen points to tile coordinates correctly in perspective view.
| * fix earthquakes in perspective viewAnsis Brammanis2015-08-241-7/+7
| | | | | | | | | | Use higher precision for matrix calculations so that the map does not jump around while zooming.
| * port mat4.perspective and mat4.rotate_xAnsis Brammanis2015-08-241-0/+2
| |
* | View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-254-4/+12
|/ | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* Merge branch 'v8'John Firebaugh2015-08-243-2/+19
|\
| * Support v8 sprite, glyph, and style mapbox:// urlsLucas Wojciechowski2015-08-211-2/+2
| |
| * Add circle render typeBruno de Oliveira Abinader2015-08-202-0/+17
| | | | | | | | | | | | | | As specified in: https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json Part of #1740.
* | GL is the library, SDK is the productJustin R. Miller2015-08-212-1/+1
|/
* MGLUserTrackingModeFollowWithCourseMinh Nguyễn2015-08-142-2/+4
| | | | | | Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed. Fixes #1605.
* Added operator implementations for mbgl::Update enum classBruno de Oliveira Abinader2015-08-131-4/+15
|
* fixes #2044: add -showAnnotations:animated:Justin R. Miller2015-08-121-0/+7
|
* Merge branch 'android-okhttp'Leith Bade2015-08-121-0/+29
|\
| * Use OkHTTP to implement HTTPContext on Android.Leith Bade2015-08-111-0/+29
| | | | | | | | Closes #823
* | add benchmark mode that shows the real frame time rather than the vsync timeKonstantin Käfer2015-08-112-2/+9
|/
* Map::nudgeTransitions no longer depends on client informationBruno de Oliveira Abinader2015-08-052-5/+5
| | | | | | | | 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.
* Added Update::RepaintBruno de Oliveira Abinader2015-08-052-1/+2
|
* add MBGL_USE_GLES2 defineKonstantin Käfer2015-08-043-11/+14
|
* don't use certain STL functionsKonstantin Käfer2015-08-041-4/+4
| | | | 
some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android
* First pass at tidying up Android annotation codeLeith Bade2015-08-041-0/+23
|
* Add more mapView!Jason Wray2015-07-311-0/+2
|
* Document iOS region change delegate methodsJason Wray2015-07-311-3/+12
| | | | With #1026 the region delegate methods work reliably and as expected. This commit adds `mapView:regionWillChangeAnimated:`, `mapViewRegionIsChanging:`, and `mapView:regionDidChangeAnimated:` to the official documentation.
* First pass at updating JNI bindingsLeith Bade2015-07-291-1/+4
| | | | | | | | | 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
* Avoid nudging transitions if a gesture is in progressBruno de Oliveira Abinader2015-07-231-1/+1
| | | | | | | | 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.
* Export default transition delay in Map public APIBruno de Oliveira Abinader2015-07-212-1/+5
| | | | | | | Added a setter/getter for default transition delay, in the same fashion as the default transition duration. Spin-off from #1888. Fixes #302.
* Revert "Revert "split renderSync and transition nudging to allow client view ↵Bruno de Oliveira Abinader2015-07-201-1/+4
| | | | | | syncing"" This reverts commit 263f9fad308873077b9287dd8aeab089fc415b10.
* Revert "split renderSync and transition nudging to allow client view syncing"Bruno de Oliveira Abinader2015-07-201-4/+1
| | | | | | This reverts commit b8388168dd130c67c77254565cdb576df7905915. It seems 'nudgeTransitions()' is no longer necessary as #1548 has fixed the update issues.
* Merge branch 'release-v0.5.0'Minh Nguyễn2015-07-141-1/+4
|\
| * refs #1859: use traditional struct declarationJustin R. Miller2015-07-091-4/+7
| |
| * Removed documentation for unavailable methodMinh Nguyễn2015-07-081-4/+0
| | | | | | | | So it doesn’t show up in the generated docset.