Commit Graph

555 Commits

Author SHA1 Message Date
Tobrun
c2333658f0 [android] - invalidate focal point when setting MyLocationView padding (#6413) 2016-10-05 22:55:54 +02:00
Tobrun
d96aabec43 [android] - correct focal point data when double tapping (#6595) 2016-10-05 22:54:54 +02:00
Tobrun
8b5228d6ec [android] - correct focal point with padding and tilt enabled + cleanup code MyLocationView (#6594) 2016-10-05 22:54:35 +02:00
Tobrun Van Nuland
3b72c288ad [android] refactored exposed api on MapboxMap
fix unit tests

fixup comments
2016-10-05 17:10:45 +02:00
clydebarrow
a4b0e2f30c [android] Revise handling of tracking modes and interactions
with touch gestures.

This fixes issues #6549 and #6567. Also pertinent to #6557.
Additional code has been added to the test app (Activity "User Tracking
Mode") to test.
A potential race condition in the MapboxMap#easeCamera() methods where
a camera change generated by tracking which could have reset the tracking
modes has been eliminated by factoring out a new method
MapboxMap#easeCameraInternal().
2016-10-05 17:10:45 +02:00
Ivo van Dongen
dd7713f6ee [android] javadoc - inter-link style properties properly 2016-10-05 12:15:15 +02:00
Tobrun
e103d92b18 Rework setStyleUrl() logic to avoid NPE as per #6512 (#6574)
* [android] Rework setStyleUrl() logic to avoid NPE as per #6512

* fixup brackets + comment
2016-10-04 15:19:25 +02:00
Tobrun
4bbdb448fd [android] - make MyLocationView responsible for converting tilt to degrees. (#6558) 2016-10-03 17:19:47 +02:00
Justin R. Miller
ee4715a821 update style generation code for new style spec enum values docs (#6508)
Documentation for enum values landed in mapbox/mapbox-gl-style-spec#510. 

This updates Android, iOS, and macOS documentation code gen scripts to capitalize on them.
2016-09-30 15:55:46 -07:00
Ivo van Dongen
8fbc1bc750 [android] addImage / removeImage jni bindings 2016-09-30 17:11:22 +02:00
Tobrun
2879b36a43 [android] - convert bearing value coming from core to degrees (#6526) 2016-09-30 13:31:54 +02:00
Ivo van Dongen
2b05776f97 [android] user agent string 2016-09-29 18:40:10 +02:00
Ivo van Dongen
a126aad0b8 [android] update telemetry user-agent 2016-09-29 18:38:51 +02:00
Tobrun
87a438ec75 Optionable textureview (#6480)
* [android] - make using TextureView optional

* add deprecation comment on texture mode
2016-09-29 15:05:50 +02:00
Tobrun
1fd142a449 [android] - update to lost 1.1.1 (#6476) 2016-09-29 11:43:19 +02:00
Tobrun
c97a1047df 6453 restore tilt after orientation (#6491)
* [android] - correct tilt value when restoring activity or creating from xml

* correct values requesting camera position adhoc

* updated logic change in unit tests
2016-09-29 11:41:08 +02:00
Tobrun
3835ed556b 6402 update offline metadata android (#6456)
* [android] - update offline metadata jni integration

* extract offline utils for reuse

* add test activity for update metadata

* fix requested signature changes
2016-09-28 07:48:01 +02:00
Justin R. Miller
b9fafbc2ee clarify circle color as fill (#6447) 2016-09-23 16:16:47 -07:00
Ivo van Dongen
742d6d8275 [android] set connectivity state pro-actively 2016-09-23 10:47:54 +02:00
Tobrun
e8d47269f8 [android] #5737 - disable tracking when a camera change occurs, treat camera change equal to gesture (#6414) 2016-09-22 10:30:24 -04:00
Young Hahn
6a2ce352d1 Better handling for undefined icon|text-rotation-alignment (#6253)
* [core, ios, android] Use `auto` value for properties with calculated defaults

* Fix render tests
2016-09-21 16:07:33 -07:00
Ivo van Dongen
eb97dbe383 [android] Sources: peer model, mutability (#6054) 2016-09-21 11:04:32 +02:00
Ivo van Dongen
97da387273 [android] update mas dependency (#6398) 2016-09-20 17:04:21 +02:00
Ivo van Dongen
aa47680a02 [android] fire onMapReady only after style is loaded (#6046) 2016-09-20 15:10:33 +02:00
Cameron Mace
073a675c29 [android] Cleans up code in map package (#6380) 2016-09-20 07:49:03 +02:00
Tobrun
72e3d6906d [android] - do not update marker while creating (#6314)
* [android] - do not update marker while creating, add activity to prevent regression

* [core] - add asserts to incorrect usage of update and remove annotations api

* [android] - fix marker tests
2016-09-19 18:03:49 -07:00
Antonio Zugaldia
79708ff9d8 Adjust logging level for failed OkHttp requests (#6378)
* log level depending on the error type
* Squashing and Merging
* remove unnecessary log (with wrong tag)
2016-09-19 17:30:56 -05:00
Tobrun
9ef65440b6 [core] [android] - public api configurable base endpoint (#6309)
add runloop to test
2016-09-15 22:01:09 -07:00
Antonio Zugaldia
d9306dde2e [android] #6317 - avoids NullPointerException when checking mMapboxMap.getUiSettings() (#6318) 2016-09-13 15:44:03 -04:00
Ivo van Dongen
ed4e37ba9f [android] HttpFileSource - rate limit 2016-09-13 14:21:38 +02:00
Tobrun
75e1ce5d00 [android] - ensure access token is set when trying to load a style (#6280) 2016-09-08 15:17:11 -07:00
John Firebaugh
fe2a26225f [core, ios, android, qt] Observe style layer mutations rather than requiring SDKs to use Map::update
This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
2016-09-06 14:29:22 -07:00
Cameron Mace
5e8e00561d [android] introduce checkstyle (#6214) 2016-09-01 10:21:49 -04:00
Tobrun
8deb7aaa79 [android] - 5844 remove stop gap for update-able shape annotations (#6187)
* [android] - remove stopgap updatable shape annotations
2016-08-29 17:43:32 +02:00
Sylvain HOCQ
eca745d63a [android] add method addMarkerViews with only one invalidate
* add method addMarkerViews with only one invalidate

* clean sample BulkMarkerActivity
2016-08-29 17:37:09 +02:00
Tobrun
58f7310749 [android] added missing rotation, cleanup duplicate entries (#6153) 2016-08-29 15:10:55 +02:00
Tobrun
4db99d2024 [android] alpha not applied from builder fix for marker view (#6152) 2016-08-29 14:50:52 +02:00
Tobrun
e759f1c948 [android] #6113 - receiver not registered exception (#6130) 2016-08-29 14:47:38 +02:00
Tobrun
1d66eda14b [android] #5875 - MapboxMap options not parceling drawables (#5984)
* [android] #5875 - MapboxMap options not parceling the MyLocationView drawables

* [android] #5875 - disabled parceable test for bitmaps

* [android] #5876 - correct restoration of bitmapdrawable for unit test

* disable check for drawable type
2016-08-29 13:43:22 +02:00
Tobrun
7af5542226 [android] Anchoring was only set once while it was still unmeasured. There are times that a view is still unmeasured even after a measure call. We need to validate again before setting the offset. (#6154) 2016-08-29 13:31:17 +02:00
Tobrun
ed431c925c [android] #6083 - add circle example (#6086)
* add method addMarkerViews with only one invalidate

* [android] #6083 - add circle example
2016-08-29 13:18:32 +02:00
Minh Nguyễn
f996558bc2 [android] Radiant → radian (#6169)
* [android] Radiant → radian

* [android] #6169 - testHashcode
2016-08-26 09:41:46 -07:00
Antonio Zugaldia
2b42f0e22f [android] #6148 - update MAS dependency to v1.3.0 2016-08-25 09:01:53 -04:00
Antonio Zugaldia
4579fa031e [android] #6042 - Check for network connectivity before requesting resources 2016-08-24 15:54:16 -04:00
Tobrun
50da6e5e71 6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting

* [android] - formatting

* [android] #6039 - fixes focal point when padding mylocationview

* [android] #5977 - MyLocationView.setPadding example + formatting Manifest

* [android] - Reset to default configuration, cleanup class
2016-08-23 12:53:36 +02:00
Tobrun
3ef272e389 [android] #6077 - keep rules for Signature and Annotation (#6085)
* [android] #6077 - keep rules for Signature and Annotation, reordered file to mimic package structure project.

* [android] #6077 - proguard workaround for mapbox-java
2016-08-22 14:49:47 +02:00
Tobrun
0fd4c9ac9d [android] #6074 - increase default gradle memory usage during build (#6080) 2016-08-19 10:07:20 +02:00
Ivo van Dongen
01a33749f9 [android] #5941 - add geojson typed constructor to GeoJsonSource and an example 2016-08-16 17:04:35 +02:00
Ivo van Dongen
2a5bf311ac [android] #6034 - add missing NoSuchSourceException 2016-08-16 16:02:37 +02:00
Ivo van Dongen
4e211548d5 [android] #5869 - visible feature querying 2016-08-16 11:38:30 +02:00