Commit Graph

8640 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
9038d66af6 [core] Added missing BlendFunc operator 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
76fc07c606 [core] Autogenerate Shader name 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
760a692378 [Qt] Added QMapbox::TransitionOptions to style class functions 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
2f8fce7bdb [core] Cleaned up TransitionOptions 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
05ae0b5dfd [core] Use default transition ease for style transition
Fixes #363.
2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
5792091e9d [core] Added mbgl::util::DEFAULT_TRANSITION_EASE 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
22aa22c99c [core] UnitBezier ctor is now constexpr 2016-06-20 13:01:59 +03:00
Minh Nguyễn
350d015cc2 [osx] Added AppleScript example 2016-06-19 21:19:09 -07:00
Minh Nguyễn
ab6318e3e3 [osx] Works with AppleScript
Sure, why not?
2016-06-19 18:28:30 -07:00
Bruno de Oliveira Abinader
87a09c51ee [build/qt] Use platform-specific gyp flavor when cross-compiling 2016-06-19 12:40:49 +03:00
Bruno de Oliveira Abinader
e50980793a [build] Use mason platform info when cross-compiling
Build platform equals to host platform if not cross compiling, otherwise
use the mason-provided platform.
2016-06-19 12:18:58 +03:00
Minh Nguyễn
061854990f [macos] Renamed OS X SDK to macOS SDK
Also renamed as many references to OS X as possible to macOS in documentation.

Cherry-picked from b9702ef41a.
2016-06-18 14:58:07 -07:00
Bruno de Oliveira Abinader
c20c1d6a6b [core] Avoid redundant 'inline' usage 2016-06-18 23:46:50 +03:00
Bruno de Oliveira Abinader
41497e9c41 [core] Cleaned up enum classes
- Replaced static_cast with C++ casts.
- Replaced inline with constexpr.
2016-06-18 20:23:00 +03:00
Bruno de Oliveira Abinader
0006c9c275 [core] Fix typo in mbgl::Response
WIP: Use Enum<Type> for mbgl::Storage::Response::Value.
2016-06-18 20:23:00 +03:00
Antonio Zugaldia
b2ce41375c [android] Remove unnecessary menu from Animated Marker activity
Fixes #5396
2016-06-17 15:39:49 -04:00
John Firebaugh
2921127bdb [core] Avoid unnecessary work when a symbol annotation is updated
In particular, if only the geometry changes, don't cascade and recalculate the style.
2016-06-17 11:38:04 -07:00
John Firebaugh
e2f52a1dd8 [core] Copy only the necessary style layers to the worker 2016-06-17 11:38:03 -07:00
John Firebaugh
a3318c2ced [macos] Add "Add Animated Annotation" to the Debug menu 2016-06-17 11:38:03 -07:00
John Firebaugh
86d768c2af [macos] Fix an intended floating point division 2016-06-17 11:38:03 -07:00
Ivo van Dongen
a2dbec82dd [android] Fix info window placement on programatic marker select
Fixes #5348
2016-06-17 19:55:10 +02:00
Brad Leege
2591147e25 [android] Setting up LocationPickerActivity infrastructure
Fixes #5282
2016-06-17 19:54:27 +02:00
Bruno de Oliveira Abinader
061511bc69 [build] Don't override CXX11ABI if already set 2016-06-17 20:44:40 +03:00
Bruno de Oliveira Abinader
a08bb4ccea [Qt] Define QT_IMAGE_DECODERS if needed 2016-06-17 20:43:21 +03:00
John Firebaugh
11dd4afc5b [core] Bring optimized animated annotations to Android release branch
Part of #5385
2016-06-17 13:24:22 -04:00
Tobrun
ebbe90983f [android] #5299 - add rotation to cars, add cars images 2016-06-17 17:00:57 +02:00
Tobrun
8c83af7b97 [android] #5299 - remove MarkerView x,y animation 2016-06-17 16:06:37 +02:00
Ivo van Dongen
8e9b158e73 [android] #5299 - Added more cars to the animation example to see what impact it has 2016-06-17 16:06:37 +02:00
Ivo van Dongen
fa0e3df981 [android] #5299 - Simplify animation code a bit. Make duration dependent on distance. Use non-linear interpolator. 2016-06-17 16:06:37 +02:00
Antonio Zugaldia
27da49c5fb first approach to a marker continuosly chasing another 2016-06-17 16:06:37 +02:00
Bruno de Oliveira Abinader
61d9232c02 [core] Do not use pthread_getname_np before glibc 2.11
Follows approach in src/mbgl/util/thread.hpp header.
2016-06-17 16:04:37 +03:00
Tobrun
2f8fd61ac7 [android #4700 - remove deprecation MyLocationListener 2016-06-17 13:08:32 +02:00
Justas Medeisis
ce2ccf9c3f [android] #5335 - Invalidate MyLocationView during bearing indicator animation. 2016-06-17 12:00:32 +02:00
Justas Medeisis
f470208f6e [android] #5335 - Always record latest accelerometer and magnetometer sensor values regardless of MyLocationView update throttling. 2016-06-17 12:00:32 +02:00
John Firebaugh
5254127e8c [core] Runtime source API: Map methods 2016-06-16 13:27:15 -07:00
John Firebaugh
9d6b50828e [core] Runtime source API: part 2 2016-06-16 13:27:15 -07:00
John Firebaugh
900568cfb0 [core] Runtime source API: private impls 2016-06-16 13:27:15 -07:00
John Firebaugh
19158d9f01 [core, node] Implement setPaintProperty for color properties (#5380) 2016-06-16 13:25:06 -07:00
Minh Nguyễn
2893f39249 [android] Rename OS X SDK to macOS SDK in Android 4.1 release branch
Fixes #5382

Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-16 16:15:45 -04:00
Justas Medeisis
a5476346bf [android] Fix crash when MyBearingTracking mode is not NONE.
Fixes #5331
2016-06-16 15:43:31 -04:00
Ivo van Dongen
2033d756c2 [android] Dynamic update of InfowWindow with InfoWindowAdapter example
Fixes #5353
2016-06-16 15:27:38 -04:00
Brad Leege
cc1e2610c7 [android] Create Wrappers for Cordova
Fixes #4761
2016-06-16 13:34:31 -04:00
Bruno de Oliveira Abinader
3f024ebaf0 [Qt] Install valgrind on-demand 2016-06-16 19:30:20 +03:00
Bruno de Oliveira Abinader
d323f393ec [Qt] Cleanup annotation usage 2016-06-16 19:30:19 +03:00
Tobrun
dd221596ba [android] #5342 - initial marker animation 2016-06-16 16:02:10 +02:00
John Firebaugh
7e1a9b7274 [core] Update test suite; use linear interpolation for rotated icons 2016-06-15 17:28:47 -07:00
John Firebaugh
a0b2982119 [core] Prepare Filter and FilterEvaluator for extraction (#5366) 2016-06-15 14:55:45 -07:00
Young Hahn
199ea2a82a Support for icon-text-fit, icon-text-fit-padding (#5334)
* Add support for icon-text-fit

* Port unit tests for getIconQuads() from js => cpp

* Add support for padding in all 4 directions.

* Update all hashes post-merge
2016-06-15 17:13:31 -04:00
John Firebaugh
a020e535ca [core] Add a few conveniences to Color 2016-06-15 13:22:00 -07:00
John Firebaugh
d48333f26d [core] Remove unused and mis-parsed properties from Tileset
latitude and longitude were reversed. Fortunately they were not used.
2016-06-15 11:28:34 -07:00