Commit Graph

4605 Commits

Author SHA1 Message Date
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
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
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
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
41760b5696 [core] Use variant<std::string, GeoJSON> in GeoJSON source 2016-06-15 11:28:34 -07:00
John Firebaugh
87edff4047 [core] Use variant<std::string, Tileset> in TileSource
A tile source can either specify a URL to TileJSON, or inline TileJSON.
2016-06-15 11:28:34 -07:00
Bruno de Oliveira Abinader
e83b12c387 [node] Narrow conversion (double → float) caught by GCC 2016-06-15 18:41:56 +03:00
Young Hahn
24b66bc8cd Color class (#5361)
* Color class

* Switch to list initialization
2016-06-15 11:38:22 -04:00
Tobrun Van Nuland
8e9fde6608 [android] #5276 - icon should be optional for MarkerView 2016-06-15 13:36:31 +02:00
Bruno de Oliveira Abinader
fe64238b4c [tidy] Switched to Travis CI
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5341.
2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
deea0c41a2 [tidy/linux] clang-analyzer-deadcode.DeadStores 2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
12acd29664 [tidy/linux] modernize-pass-by-value 2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
f0e48ca327 [tidy/linux] modernize-use-override 2016-06-14 22:14:11 +03:00
Bruno de Oliveira Abinader
6b5caf4b2c [tidy/linux] modernize-use-nullptr 2016-06-14 22:14:11 +03:00
Bruno de Oliveira Abinader
7413061f8e [tidy/linux] llvm-namespace-comment 2016-06-14 22:14:11 +03:00
John Firebaugh
5bbcca8326 [core] Add virtual Source::getTileSize() 2016-06-14 11:25:45 -07:00
John Firebaugh
9d3c4fbbb0 [core] Push Source::url down to subclasses 2016-06-14 11:25:45 -07:00
John Firebaugh
9dfcb95e4f [core] Push Source::tileset down to TileSource 2016-06-14 11:25:45 -07:00
John Firebaugh
6eab895bc0 [core] Use Range<uint8_t> instead of full Tileset where possible 2016-06-14 11:25:45 -07:00
Minh Nguyễn
7080196bf6 [macos] Added changelog section for post-0.2.0
[skip ci]
2016-06-14 11:01:59 -07:00
Minh Nguyễn
e49f72838b [macos] Zip up SDK before uploading it 2016-06-14 10:51:07 -07:00
Minh Nguyễn
1d43f92859 [macos] Deployment script
Adapted the iOS SDK deployment script for the macOS SDK.
2016-06-14 10:14:03 -07:00
Minh Nguyễn
23da7064f0 [macos] Updated changelog
Updated changelog for #5183, #5124, #2444, #5053, #4579, realm/jazzy#530.
2016-06-14 10:04:36 -07:00
Tobrun Van Nuland
7942ce9455 [android] #5279 - expose MarkerView alpha 2016-06-14 15:11:20 +02:00
Fredrik Karlsson
d564302c6d [ios] fixes #5129 added annotation property to MGLAnnotationView (#5307)
Also added a test case for MGLAnnotationView
2016-06-14 13:12:56 +02:00
Bruno de Oliveira Abinader
b00e6fc7e1 [tidy] Install mason clang-tidy if CLANG_TIDY is not set
Also added HeaderFilterRegex to .clang-tidy.
2016-06-14 12:20:08 +03:00
Fredrik Karlsson
a557e1e2c9 [ios] fixes #5127, #5128, #5130 added enabled and selected property to MGLAnnotationView (#5297)
[ios] fixes #5127, #5128, #5130 added enabled and selected property to MGLAnnotationView
2016-06-14 10:36:41 +02:00
Minh Nguyễn
b9702ef41a [macos] Renamed OS X SDK to macOS SDK
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
Alan Kinnaman
19c34fe1f0 Suppress warning when dequeueing subclasses (#5244)
When using a subclass of `MGLAnnotationView` or `MGLAnnotationImage`, the following warning occurs:

`Incompatible pointer types initializing 'MyClassName *' with an expression of type 'MGLAnnotationView * _Nullable'`

This change eliminates the warning  and matches Apple's implementation of `UITableViewCell`.

Cherry-picked from 1e41c151f6.
2016-06-14 00:17:44 -07:00
Alan Kinnaman
1e41c151f6 Suppress warning when dequeueing subclasses (#5244)
When using a subclass of `MGLAnnotationView` or `MGLAnnotationImage`, the following warning occurs:

`Incompatible pointer types initializing 'MyClassName *' with an expression of type 'MGLAnnotationView * _Nullable'`

This change eliminates the warning  and matches Apple's implementation of `UITableViewCell`.
2016-06-14 00:17:08 -07:00
John Firebaugh
3f5ea169f5 [node] Partial implementation of runtime styling API for node bindings 2016-06-13 17:22:05 -07:00
John Firebaugh
ee78b1b797 [core] Eliminate some redundant NodeMap members 2016-06-13 17:22:05 -07:00
John Firebaugh
282e626ac1 [core] Make enum ↔ string conversion more generic-friendly
Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types.

While there, properly validated enumerated property values.
2016-06-13 17:22:05 -07:00
Brad Leege
4f622a75db [android] #4959 - Dynamic Sizing Of Default InfoWindow Based On Availability Of Title And Snippet Data 2016-06-13 15:46:59 -05:00
Tobrun Van Nuland
b3467a555a [android] #4924 - Make Gesture Focal Point Configurable 2016-06-13 15:34:52 -05:00
Bruno de Oliveira Abinader
fe09510c1b [build] Re-enable tidy checks 2016-06-13 23:32:07 +03:00
Bruno de Oliveira Abinader
4d75001e9a [tidy] Check modernize-use-override
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
2016-06-13 23:32:06 +03:00