Minh Nguyễn
d11d53da5e
[ios] Silly rabbit, Cocoa bindings are for Mac developers!
...
Reapplied 56ea347c49 for #3199 , which got lost in a merge.
2015-12-12 15:31:37 -08:00
Tobrun
695180e091
[android] #3262 stop listening to bearing when state switches
2015-12-12 09:17:35 -08:00
Tobrun
8d253f97b6
[android] #3191 - remove double direction state
2015-12-12 09:14:42 -08:00
Tobrun
cc6169154f
[android] #3270 - add sample activity for animated coordinate change
2015-12-12 09:12:21 -08:00
Tobrun
7117ec5032
[android] #3267 limit user input as an example to VisibleCoordinateBounds
2015-12-12 09:08:58 -08:00
Thiago Marcos P. Santos
9af7594d61
[core] Use global namespace on some <cmath> functions
...
Improves compatibility as some old std libs don't have them
on the std:: namespace.
2015-12-11 17:12:31 -08:00
Konstantin Käfer
8d711e9c80
[test] update test suite to include more comprehensive GeoJSON tests
2015-12-11 16:23:43 -08:00
Konstantin Käfer
c4a01d51ea
[core] don't fail on invalid inline GeoJSON data
2015-12-11 16:23:43 -08:00
Konstantin Käfer
b0bec13601
[build] make sure we're building the config file for node Xcode projects
2015-12-11 16:23:42 -08:00
Konstantin Käfer
0f9922cff5
[core] create GeoJSON tiles from inline GeoJSON in sources
2015-12-11 16:23:42 -08:00
Konstantin Käfer
2f973d0a7e
[core] parse GeoJSON source type
2015-12-11 16:23:42 -08:00
Konstantin Käfer
132b68e4fc
[core] split Source parsing into separate functions
2015-12-11 15:25:12 -08:00
Konstantin Käfer
2b9f20461a
[core] move SourceInfo to its own file
2015-12-11 15:25:12 -08:00
John Firebaugh
65b3220368
[core] Reduce custom layer API to lowest common denominator
2015-12-11 12:44:54 -08:00
Tobrun
78691fa9e6
[android] #3245 Reverse Tilt Gesture
2015-12-11 09:26:19 -08:00
Tobrun
f2b22666b0
[android] #3246 disable zoom controls
2015-12-11 09:22:29 -08:00
Tobrun
b832969b81
[android] #3248 - enforce application context in a singleton
2015-12-11 09:14:18 -08:00
Tobrun
18d451f393
[android] #3238 inconsistent package name
2015-12-11 09:11:26 -08:00
danswick
09bf5570e1
updates order of lifecycle methods. Addresses #2957
2015-12-10 21:09:14 -08:00
Stephen Niedzielski
9747caa435
Fix Android ProGuard View rules & release signing
...
- Enable ProGuard for the test app so the most common use case may be tested.
- Update ProGuard to keep all Mapbox views and their methods.
Previously, ProGuard was stripping numerous class methods including
UserLocationView.g/setAccuracy(). These particular methods are
accessed via reflection. On newer APIs, this manifests only in Logcat
and loss of functionality:
PropertyValuesHolder W Method setAccuracy() with type float not found on target class class com.mapbox.mapboxsdk.views.UserLocationView
W Method getAccuracy() with type null not found on target class class com.mapbox.mapboxsdk.views.UserLocationView
On Android 4.03 and 4.04 (API 15), this causes an NPE:
java.lang.NullPointerException
at android.animation.PropertyValuesHolder.setupSetterAndGetter(PropertyValuesHolder.java:513)
at android.animation.ObjectAnimator.initAnimation(ObjectAnimator.java:385)
at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:537)
at android.animation.ValueAnimator.start(ValueAnimator.java:927)
at android.animation.ValueAnimator.start(ValueAnimator.java:950)
at android.animation.ObjectAnimator.start(ObjectAnimator.java:363)
at com.mapbox.mapboxsdk.views.UserLocationView.setLocation(UserLocationView.java:401)
at com.mapbox.mapboxsdk.views.UserLocationView.toggleGps(UserLocationView.java:300)
at com.mapbox.mapboxsdk.views.UserLocationView.setEnabled(UserLocationView.java:230)
at com.mapbox.mapboxsdk.views.MapView.setMyLocationEnabled(MapView.java:3122)
...
Also add Support libraries rules to the test. Further amendments may
be made by examining usage.txt[0,1].
[0] http://developer.android.com/tools/help/proguard.html#enabling
[1] http://proguard.sourceforge.net/manual/usage.html#shrinkingoptions
2015-12-10 20:47:11 -08:00
Thiago Marcos P. Santos
37ca365469
[tests] Force classic locale on toString tests
...
Fix an issue where the test result can be affected
depending on the current locale settings of the
machine running the tests.
2015-12-10 18:25:51 -08:00
John Firebaugh
0ff9295ca8
[core] Move linux and osx to platform subdirectory
2015-12-10 16:50:39 -08:00
Konstantin Käfer
93c000dd18
[core] viewport is handled by embedding applications
2015-12-10 14:16:11 -08:00
Vladimir Agafonkin
bd56c8634b
[core] update annotation simplification [skip ci]
...
This matches VT default
https://github.com/mapbox/tilelive-bridge/commit/6bd5b3cc68e86990cc9cf2b
fde5e956373cb5b0c
2015-12-10 13:16:40 -08:00
Vladimir Agafonkin
b44331245a
[core] update geojson-vt options
...
- fix the code to use the same simplification tolerance
- remove outdated indexMaxZoom/Points values and rely on default
- bump buffer 2x to fix bleeding linecaps on thick lines
2015-12-10 12:59:49 -08:00
Konstantin Käfer
da7b6bb8b9
[core] upgrade to GeoJSON VT 3.0.0
2015-12-10 12:54:58 -08:00
Konstantin Käfer
655b777635
[core] don't rebuild shaders unless they change
2015-12-10 11:59:51 -08:00
Tobrun
b7a238f425
[android] #3240 - Reimplemented compass algorithm for compass bearing, fixed switching between user location tracking modes
2015-12-09 17:22:06 -08:00
Adam Hunter
095a8be300
Implementation of flyTo.
2015-12-09 17:14:22 -08:00
John Firebaugh
896245e510
[test] Update test suite
2015-12-09 16:25:45 -08:00
Tobrun
50ed524e51
[android] #3224 - add espresso test for TiltActivity
2015-12-09 14:54:38 -08:00
John Firebaugh
bde07c8f0e
[core] Custom layers
2015-12-09 13:51:28 -08:00
Brad Leege
0346cfd865
[android] #2954 - Refactoring UserLocationView to use common LocationServices for location data
2015-12-09 12:45:35 -08:00
Brad Leege
220006fecb
[android] #2954 - Building LocationListener infrastructure
2015-12-09 12:45:35 -08:00
Brad Leege
cddedf6966
[android] #2954 - Setting up specific toggle GPS functionality
2015-12-09 12:45:35 -08:00
Brad Leege
a7307f01bb
[android] #2954 - Setting up LOST client
2015-12-09 12:45:34 -08:00
Brad Leege
96591c47cf
[android] #2954 - LocationServices Singleton setup
2015-12-09 12:45:34 -08:00
John Firebaugh
45c7b472ad
[core] Ensure GL state is set to necessary values in more places
2015-12-09 12:10:23 -08:00
Konstantin Käfer
249966a9d7
[node] don't go through npm to debug in Xcode
2015-12-09 11:54:04 -08:00
Antonio Zugaldia
9bd6abb023
[android] Set the bearing of the checked object to avoid a null exception
...
Fixes #3213
2015-12-09 09:40:28 -08:00
Thiago Marcos P. Santos
40b2d81a22
[core] Use compilation database for YCM
...
Now the .ycm_extra_conf.py is very close to the YCM
upstream reference file.
2015-12-08 15:47:23 -08:00
Tobrun
b7037bb4b1
[android] #3221 - added unit test for Polyline and Polygon, updated test for Marker
2015-12-08 15:04:04 -08:00
Mike Morris
55d97c1ad1
[node] document EventEmitter interface [skip ci]
2015-12-08 14:36:38 -08:00
Mike Morris
515a4fffab
node-v2.1.0
2015-12-08 11:39:12 -08:00
Konstantin Käfer
7bfeaca85c
[core] Reverse direction of line-offset
2015-12-08 10:49:23 -08:00
Justin R. Miller
318ea16c4c
fix erroneous changelog
2015-12-08 10:36:44 -08:00
Justin R. Miller
1d5f9b08f5
update changelog for ios-v3.0.1
2015-12-08 10:30:00 -08:00
Thiago Marcos P. Santos
0a97145d05
[core] Better C++ usage on RunLoop
...
Follow-up of #3179 .
2015-12-08 10:23:11 -08:00
Tobrun
cfd93a803d
[android] #3215 added unit test for marker, moved tests to their own dedicated packages, added toString method to Marker
2015-12-07 18:30:49 -08:00
John Firebaugh
e04c5f6506
[core] Replace StyleLayerType with RTTI
2015-12-07 18:22:33 -08:00