summaryrefslogtreecommitdiff
path: root/include/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
* [core] Added PrecisionPoint to represent pixel pointsBruno de Oliveira Abinader2015-11-111-1/+15
|
* [core] Added isValid to geo helper structsBruno de Oliveira Abinader2015-11-111-0/+12
|
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-301-0/+32
| | | | | | | | | | 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
* [core] Annotation refactorJohn Firebaugh2015-10-201-0/+4
|
* mason variant@1.0Mike Morris2015-09-304-1030/+0
|
* CameraOptionsMinh Nguyễn2015-09-072-0/+190
| | | | | | | | | | | | 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.
* 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
|
* add MBGL_USE_GLES2 defineKonstantin Käfer2015-08-041-9/+12
|
* 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
* Remove unused function: cwd()Thiago Marcos P. Santos2015-07-111-2/+0
|
* 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
|
* [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.
* squash of #1655: shape annotations support for core & iOSJustin R. Miller2015-06-151-1/+13
|
* allow constructing LatLng/LatLngBounds objects from TileIDsKonstantin Käfer2015-06-081-0/+8
|
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-261-23/+0
|
* Notify failures when loading glyphsThiago Marcos P. Santos2015-05-221-0/+5
|
* Notify failures when loading tilesThiago Marcos P. Santos2015-05-221-0/+5
|
* Notify failures when loading the sprite JSON and imageThiago Marcos P. Santos2015-05-221-0/+5
|
* Notify failures when loading the source JSONThiago Marcos P. Santos2015-05-221-0/+5
|
* only return locked FontStack objectsKonstantin Käfer2015-05-191-0/+30
|
* fix division by zero conditionsDane Springmeyer2015-05-081-1/+5
|
* Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-071-0/+1
| | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* only update GL state when it actually changedKonstantin Käfer2015-05-041-0/+87
|
* fix compile with clang-3.6Dane Springmeyer2015-05-011-2/+1
|
* Rewrite Worker in terms of Thread<>John Firebaugh2015-04-281-95/+0
|
* port LineBucket::addLine from -jsAnsis Brammanis2015-04-272-1/+17
|
* Ensure correct spin directionMinh Nguyễn2015-04-181-0/+6
| | | | | | Ported mapbox/mapbox-gl-js#821 as well as `util.wrap()` from mapbox-gl-js. Fixes #1199.
* Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++John Firebaugh2015-04-092-34/+0
|
* Add typedefs for std::chrono::steady_clock typesJohn Firebaugh2015-04-021-0/+16
|
* Merge branch 'master' into 1022-annotations-thread-safetyJustin R. Miller2015-03-231-0/+7
|\
| * Cocoa annotations APIJustin R. Miller2015-03-221-0/+7
| |
* | make more things const and refs, and add mutexesKonstantin Käfer2015-03-201-2/+0
|/
* refs #893 #992: point annotations APIJustin R. Miller2015-03-172-0/+18
|
* fix ambiguous name (gcc)Konstantin Käfer2015-03-061-1/+1
|
* throw exception when shader compilation failsKonstantin Käfer2015-03-061-0/+27
|
* add more locking around GlyphStore and FontStackKonstantin Käfer2015-03-061-0/+33
| | | | this is a stopgap until we have a solution that gives every worker thread their own copy
* move readlock/writelock to uv.hpp and add movable lock/mutexKonstantin Käfer2015-03-061-0/+41
|
* update mapbox::variantKonstantin Käfer2015-03-062-83/+145
|
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-163-0/+96
|
* Fix #include <uv.h> mixing between C and C++ modesLeith Bade2015-02-111-2/+2
|
* use standard DEBUG macro rather than NDEBUGKonstantin Käfer2015-02-041-2/+4
|
* rewrite storage layer to be independent of the Map's event loopKonstantin Käfer2015-02-044-21/+173
|
* Use std::chronoLeith Bade2015-02-041-28/+0
|
* Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-101-0/+30
|\ | | | | | | | | Conflicts: platform/default/http_request_baton_curl.cpp
| * report version number in user agent stringKonstantin Käfer2014-12-081-2/+0
| | | | | | | | refs #628
| * add user agent headerKonstantin Käfer2014-12-081-0/+32
| | | | | | | | fixes #628