summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * split renderSync and transition nudging to allow client view syncingJustin R. Miller2015-07-081-1/+4
| |
* | Pass {Duration,TimePoint} by const ref if possibleBruno de Oliveira Abinader2015-07-141-12/+12
| |
* | Remove unused function: cwd()Thiago Marcos P. Santos2015-07-111-2/+0
| |
* | 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.
* explicitly bring in headerJustin R. Miller2015-07-081-0/+2
|
* fix nullabilityJustin R. Miller2015-07-081-1/+1
|
* nullability for MGLAnnotationImageJustin R. Miller2015-07-081-0/+4
|
* Cocoa custom marker imagery APIJustin R. Miller2015-07-083-1/+31
|
* add ability to add random custom markers to test appKonstantin Käfer2015-07-082-0/+44
|
* add ability to set custom sprites on the Map objectKonstantin Käfer2015-07-081-0/+5
|
* mark Image constructor as explicit to avoid accidental implicit argument ↵Konstantin Käfer2015-07-081-1/+1
| | | | | | conversion when passing a std::string instead of an Image, the parameter gets implicitly and automatically converted (== parsed) to a temporary Image object. Since parsing an Image shouldn't be a frequent operation
* compress_png: void* => const void*Konstantin Käfer2015-07-081-1/+1
|
* Sprite store APIKonstantin Käfer2015-07-081-0/+5
|
* improve round line joins for semi-transparent linesAnsis Brammanis2015-07-081-0/+3
| | | | | | | | | | | | | | | | | | https://github.com/mapbox/mapbox-gl-js/pull/1359 Round line joins used to be drawn by adding a semicircle cap to the end of each segment. This looked fine for opaque lines not for semi-transparent lines. This changes the triangulation so that round line joins don't overlap with segments. The gap between segments is filled with small triangles that look like pie slices. The edge of the round linejoin is made up of many short straight lines that look round at the sizes we draw lines. Since sharp angles are infrequent, this does not significantly affect the total number of triangles created. Joins for angles that are really sharp are still drawn with overlap.
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-086-21/+48
| | | | also moves framebuffer size out of TransformState into its own object
* [wrap)Minh Nguyễn2015-07-061-1/+3
| | | | If (wrap] is desired, it is the responsibility of the caller to handle the case in which min is returned.
* Move WorkerTask functionality into RunLoop coreJohn Firebaugh2015-07-012-2/+3
| | | | | As a byproduct, this makes FileCache get requests properly cancelable.
* fixes #1770: rename & expose compass, logo, and attributionJustin R. Miller2015-07-011-0/+9
|
* Rationalize *RenderingMap notificationsJohn Firebaugh2015-06-303-3/+21
|
* Use array of structs rather than parallel arrays for annotationsJohn Firebaugh2015-06-293-9/+56
|
* Fit to coordinatesMinh Nguyễn2015-06-262-0/+8
| | | | Whoever determined the boundaries of the District of Columbia did not have fit-to-bounds implementations in mind. With this change, shapes that are not unrotated rectangles fit much, much better.
* Remove duration argument from View::notifyMapChangeJohn Firebaugh2015-06-262-4/+2
| | | | Fixes #1026
* Move Transform from MapData to MapJohn Firebaugh2015-06-261-0/+2
| | | | | Pass current state to MapContext where needed. Remove mutex from Transform.
* drive Android rendering from the main thread via invalidate() callsKonstantin Käfer2015-06-262-0/+4
|
* drive map rendering from main threadKonstantin Käfer2015-06-264-6/+14
|
* remove unused renderAsync() functionKonstantin Käfer2015-06-261-1/+0
|
* Implemented -setVisibleCoordinateBounds:Minh Nguyễn2015-06-251-3/+5
| | | Followup to #1783: Implemented the non-animated version of fit to bounds and makes it a KVO-compliant property.
* Test fit to bounds; added MGLCoordinateBounds functionsMinh Nguyễn2015-06-255-15/+90
| | | | Added a bunch of functions to work with MGLCoordinateBounds in a separate header analogous to MKGeometry.h. Added resolution-independent tests for common fit to bounds scenarios.
* Fit to bounds with paddingMinh Nguyễn2015-06-252-1/+11
| | | | Each side of the bounding box is specified independently, allowing more flexibility than the offset + padding construct supported in mapbox/mapbox-gl-js’ Camera.
* Reimplemented fit to boundsMinh Nguyễn2015-06-253-0/+16
| | | | The new implementation is now public and takes advantage of MGLCoordinateBounds. It is re-ported from `Camera.prototype.fitBounds()` in mapbox/mapbox-gl-js to ensure correct behavior. A new function, MGLCoordinateBoundsMake(), makes it easier to create an MGLCoordinateBounds for use with this method.