Brad Leege
b03471bc8d
[android] #5536 - Adding GzipRequestInterceptor to Telemetry OkHttp Client
2016-07-18 10:42:47 -05:00
Brad Leege
371a8ef6b2
[android] #5536 - Building GzipRequestInterceptor
2016-07-18 10:42:47 -05:00
Vladimir Agafonkin
a9e4e98e8e
Revert "add supercluster dependency"
...
This reverts commit f84e9fdb2b .
2016-07-18 16:58:32 +03:00
Vladimir Agafonkin
f84e9fdb2b
add supercluster dependency
...
[skip ci]
2016-07-18 16:21:28 +03:00
Thiago Marcos P. Santos
d52faadf73
[android] Set thread name properly
2016-07-16 10:38:42 +03:00
Thiago Marcos P. Santos
538814d7bd
[core] Make the AssetFileSource thread low priority
2016-07-16 10:38:42 +03:00
Antonio Zugaldia
5c037f4745
[android] Introduce a getDatabasePath() method that enables switching storage paths
...
Fixes #5589
2016-07-15 09:58:53 -04:00
Brad Leege
95e5d12235
[android] #5682 - Cloning events list to prevent synchronization issues
2016-07-14 16:20:36 -07:00
Brad Leege
f2585b342c
[android] #5682 - Adding NaN and Infinite checks to trackGestureDragEndEvent() and trackGestureEvent()
2016-07-14 16:20:36 -07:00
Antonio Zugaldia
11095881f7
[android] Adds an API to enable/disable delivering messages when the region goes inactive.
2016-07-14 16:44:58 -04:00
Cameron
765e8d2be1
[android] latlngbounds includes added in builder
...
Fixes #5574
added includes test
2016-07-14 12:13:44 +02:00
Tobrun
fd5ee40506
[android] #5631 - add a concrete java exception when creating a marker without the required position field.
...
[android] #5631 - updated test cases to handle invalid position on a Marker
2016-07-14 09:36:51 +02:00
Brad Leege
5fb0e878b4
[android] #5680 - Adding 1000 event cap to send telemetry data
2016-07-13 18:32:14 -07:00
Thiago Marcos P. Santos
389c7615eb
[core] Revert workaround for std::atomic on ARMv5
...
Got fix on r12.
https://github.com/android-ndk/ndk/issues/31
2016-07-13 17:56:51 +03:00
Tobrun Van Nuland
b9c273d197
[android] #5649 - add a ViewPager example
...
[android] #5649 - add back pressed event for action bar home icon
2016-07-13 16:43:01 +02:00
Tobrun Van Nuland
9387523376
[android] #5649 - fixes fragment null pointer when creating a SupportMapFragment without a OnMapReadyCallback
2016-07-13 16:43:01 +02:00
Justas Medeisis
566c6cf618
[android] #5649 - Request MapView parents not to intercept scroll gestures.
2016-07-13 16:43:00 +02:00
Tobrun
3dacbdd42e
[android] #5438 - add bearing to MyLocationView for the SDK camera object
...
[android] #5438 - integrate MyLocationView set bearing inside the MapView setBearing
[android] #5438 - invalidate the MapView instead of calling update from core.
[android] #5438 - add bearing MyLocationView to setBearing focal point on MapView
[android] #5438 - Get correct bearing when camera object is rotated around the z-axis, notify MyLocationView when camera position changes, update test utilities.
[android] #5438 - fixes compass tracking
2016-07-13 14:52:15 +02:00
Tobrun Van Nuland
081c61dcc2
[android] #5652 - fix PressForMarkerActivity setup to follow best practices of loading a style and initial location of a MapView as early as possible.
2016-07-13 14:48:55 +02:00
Tobrun
cbfc9bc33c
[android] #5541 - removes requirement of MapboxAccountManager.start before setContentView.
...
[android] #5541 - add a MapboxAcountManagerNotStartedException when calling getInstance when not started.
[android] #5541 - fixes using access tokens in attributes & MapboxMapOptions
[android] #5541 - improved MapboxAccountManager exception message
2016-07-13 14:47:42 +02:00
Thiago Marcos P. Santos
cc3a81291a
[android] Build release with -Os and -fvisibility=hidden
...
Optimize for size.
2016-07-13 13:50:50 +03:00
Bruno de Oliveira Abinader
761c9d44b2
[android] Update {Line,Fill}Annotation properties setter
2016-07-13 11:57:09 +03:00
Brad Leege
a73c81cc55
[android] #5613 - Limiting location event latitudes and longitudes to 7 digits after the decimal place
2016-07-12 16:59:33 -07:00
Tobrun
caba8c11b9
[android] - remove duplicate bearing/direction API from MapView
2016-07-11 15:52:23 +02:00
Tobrun
d929e32217
[android] #5513 - make sure view is measured first before anchoring
2016-07-07 14:01:23 +02:00
Tobrun
85756f360e
[android] - Resolves updating marker view position with SurfaceView
2016-07-07 14:00:05 +02:00
Young Hahn
71a3b1d0db
[core] geometry@0.8.0 / geojsonvt@6.0.0 ( #5514 )
...
* [core] geometry.hpp 0.8.0
* geojsonvt @ 6.0.0
* Update platform deps, build scripts
* Perf optimizations/cleanup
* Rebase in geometry@080
* D.R.Y. etc
* Ensure fill annotation geometries have closed rings.
* Optimizations
* Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt
* Apply close multi/poly geoms for line annotations as well
2016-07-06 17:29:34 -04:00
Thiago Marcos P. Santos
480e26c53f
[android] Add support for timers on the main thread
...
Wake up the main thread run loop with a file descriptor event from a
thread that exists for this sole purpose.
2016-07-06 17:43:19 +03:00
Thiago Marcos P. Santos
2425cf4ef8
Revert "[android] Do not create Timers on Default main loops"
...
This reverts commit 13cd75f099 .
2016-07-06 17:43:09 +03:00
Tobrun Van Nuland
99a4850613
[android] #5000 - initial surface view implementation.
2016-07-06 11:01:37 +02:00
Thiago Marcos P. Santos
dfd0b105cd
[android] Fix issue when stop is called before run on the RunLoop
...
The current ::stop() implementation was not thread safe and we
should queue the ::stop() for the next loop iteration so even
if we call ::stop() before ::run(), it gets processed.
2016-07-05 21:04:27 +03:00
Thiago Marcos P. Santos
13cd75f099
[android] Do not create Timers on Default main loops
...
Not supported, because we don't have control over the Looper
timeout like we do for Loopers we create. On the main thread,
Android takes care of making the application sleep and sets
an arbitrary timeout. This could be properly fixed by implementing
timers in Java, but we don't really have the use case of timers
in the main thread.
2016-07-05 21:04:27 +03:00
Thiago Marcos P. Santos
b3b86f9be4
[android] Fix hang when calling Timer::start() twice
...
Calling start() from the callback was making the timer
effectively stop.
2016-07-05 21:04:27 +03:00
Thiago Marcos P. Santos
e579199ac1
[android] Fix a bug when canceling tasks
...
If the next task in the queue gets canceled, we need to
adjust the iterator to the next task, otherwise a canceled
task gets executed.
2016-07-05 21:04:27 +03:00
Thiago Marcos P. Santos
70d4ebb347
[android] Fix default RunLoop not stopping
...
stop() for default RunLoop is only used by unit tests and we need
to wake the ALooper to get past run().
2016-07-05 21:04:27 +03:00
Tobrun
2bf4e20052
[android] #5104 - make nativePixelForLatLng faster (74ms to 57ms)
...
[android] #5104 - make nativeLatLngForPix faster (52ms - 45ms).
[andriod] #5104 - make nativeSetLatLng faster (117ms to 105ms)
[android] #5104 - make nativeFlyTo faster (106ms to 97ms)
[android] #5104 - make nativeEaseTo faster (103 to 94ms)
[android] #5104 - make nativeJumpTo faster (94 to 86ms)
[android] #5104 - make nativeProjectedMetersForLatLng faster (32 to 30ms)
[android] #5104 - make nativeLatLngForProjectedMeters faster (32 to 30ms)
2016-07-05 15:43:19 +02:00
Tobrun
a40953dd71
[android] - Remove StyleInitializer class, obsolete with introduction MapboxAccountManager
2016-07-05 13:34:22 +02:00
Tobrun
6b0c16a148
[android] #5564 - fixes latitude lint range setup for getMetersPerPixelAtLatitude
2016-07-05 10:49:47 +02:00
Tobrun
87209bd04f
[android] - add javadoc to mapboxmapoptions
2016-07-05 10:07:08 +02:00
Tobrun
ced4ad63f7
[android] - fixes deprecation javadoc of accessToken
2016-07-05 09:09:31 +02:00
Konstantin Käfer
eb7cfea7ea
[android] upgrade to NDK r12b
2016-07-01 18:26:55 +02:00
Cameron
a440598e2b
[android] updated the testapp icon
2016-06-30 15:03:21 -05:00
John Firebaugh
03f30f5207
Merge remote-tracking branch 'origin/release-android-v4.1.0'
2016-06-29 17:07:15 -07:00
Brad Leege
dfbee38f53
[android] #5510 - Setting version to 4.2.0-SNAPSHOT
2016-06-29 12:23:51 -05:00
Brad Leege
a8cd7ecdfb
[android] #5510 - Updating CHANGELOG for Android 4.1.0 Release
2016-06-29 12:20:25 -05:00
Brad Leege
ee4cb08e4f
[android] #5510 - Fixing POM Name
2016-06-29 10:50:55 -05:00
Brad Leege
799dc9bd93
[android] #5510 - Setting properties to 4.1.0 for Release
2016-06-29 10:39:07 -05:00
Brad Leege
e2499207a7
[android] #4700 - Removing Deprecated annotation on MapboxMap.OnMyLocationChangeListener
2016-06-28 11:56:19 -05:00
Brad Leege
5cc174c0f5
[android] #5470 - Adding NaN and Infinite checks to location event tracking
2016-06-27 13:46:43 -05:00
Tobrun
3456e086ac
[android] Fixes disappearing markers when crossing dateline, remove debug exception catch.
...
Fixes #5402
2016-06-27 10:18:38 -04:00