Commit Graph

540 Commits

Author SHA1 Message Date
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
Ivo van Dongen
743d134a32 [android] #5852 - geojson source clustering 2016-08-13 11:20:08 -04:00
Tobrun
112789a761 [android] - make query source features depend on screendensity 2016-08-12 23:54:09 -04:00
Cameron
c57a54d920 added watermark to image 2016-08-12 22:19:28 -04:00
Tobrun
834ff765c0 [android] #5968 - add support for a layout editor preview, show a drawable and some overlain items 2016-08-12 22:19:28 -04:00
Ivo van Dongen
ddf0d25845 [android] #5978 - fix number property filters [ci skip] 2016-08-12 18:47:05 -04:00
Minh Nguyễn
e147887e35 [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ queryPointAnnotations() (#5165)
queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view.

Fixes #5151.
2016-08-12 15:45:18 -07:00
Tobrun
0ae941d2a8 [android] #5934 - resolves memory leaks on animators + location listeners 2016-08-11 18:13:12 -04:00
Tobrun
532c659b22 [android] javadoc cleanup part 2 2016-08-09 20:48:00 -04:00
Tobrun
ddcd1f9ae0 [android] #5889 - update info window location when info window content is being refreshed 2016-08-09 14:37:56 -04:00
Tobrun
63efa9bf7d [android] #5880 - javadoc cleanup part one 2016-08-08 21:51:52 -04:00
Ivo van Dongen
d9145f504b [android] #5887 - Custom layer crash fix + updated test case 2016-08-08 11:33:31 -04:00
Tobrun
4fa179cce1 [android] - move MyLocationView under static overlays as logo, attribution and compass 2016-08-06 14:00:37 -04:00
Tobrun
016157c39e [android] - javadoc fixes breaking the release build 2016-08-06 12:32:55 -04:00
Ivo van Dongen
b4c51dd792 [android] - Fix crash on dalvik due to missing finalizers 2016-08-06 12:32:25 -04:00
Cameron
70c21da06b [android] improved and fixed compass tracking 2016-08-05 16:37:39 -04:00