Commit Graph

436 Commits

Author SHA1 Message Date
Pablo Guardiola
985ff4cc18 [android] fix pulse marker view options parcelable creator (#9283) 2017-06-20 09:24:43 +02:00
Tobrun
78322a3f16 [android] - update activity test generation with newest classes, make FillExtrusionActivity conform to generated activity test setup. (#9276) 2017-06-20 09:16:55 +02:00
Tobrun
e59766f4e8 [android] - run MapboxMap invocations to ui thread for instrumentation tests (#9198) 2017-06-12 11:02:36 +02:00
Tobrun
6ec5e4f8cd Cherry picks to release branch (#9230)
* [ios][macos] test remove source in use

* [android] test remove source in use

* [core] check source usage before remove

* [core] ensure layer::accept works with non-void return values on gcc

* [android] - remove upgrade runtime exceptions (#9191)
2017-06-09 12:05:54 +02:00
Tobrun
9f88e37366 Custom location source fix (#9142)
*  [android] - custom location engine fixes (#9139)

* Update to latest LOST dependency, fixup internal location source integration
2017-06-09 10:00:00 +02:00
Pablo Guardiola
b2f277ac62 add null check in custom location engine activity to prevent null pointer exception (#9159) 2017-06-01 14:10:18 +02:00
Tobrun
fc495dec12 [android] - harden orientation changes (#9128) 2017-05-30 16:56:19 +02:00
Tobrun
5716bd3aec [android] - add binding support for Light (#9013) 2017-05-26 16:04:09 +02:00
Tobrun
c392c678ab [android] - logo placement for creating a Mapview programatically (#9094)
* [android] - Correct logo placement for creating a Mapview programatically, fixup non default placements

* Fixed NIGHTY_TWO_DP typo to NINETY_TWO_DP
2017-05-26 10:32:11 +02:00
Tobrun
a68788a2cf [android] Release android-v5.1.0-beta.2 (#8976)
* [android] url getter on sources

* [android] fix ui test filter in makefile

* [android] - build SNAPSHOT from release branch (#8958)

* [android] - update changelog for 5.1.0-beta.2

* [android] - bump version number

* [android] - Camera change listener v2.0

* [core] allow filesource url transform reset

* [android] Update attribution wordmark (#8774)

* Update wordmark on android

* Moved attribution i icon to the right of mapbox word (in mapview preview image)

* update padding and margin

* [android] update hardcoded branch name

* revert version to 5.1.0-SNAPSHOT
2017-05-12 14:07:06 -04:00
Minh Nguyễn
0ef1293dad [core, android, ios, macos, qt] v10 default styles
Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.

Cherry-picked from ed54849e99.
2017-05-12 10:02:27 -07:00
Tobrun
cb737362b6 [android] - update proguard config, allow debug mimification, update OkHttp to latest version (#8944) 2017-05-12 15:27:27 +02:00
Tobrun
e681f69993 [android] - update LOST to 2.3.0 (#8872) 2017-05-12 15:16:13 +02:00
Tobrun
ad46d67aeb [android] - keep observer when timeout occurs, make observer param nullable, fixup log messages (#8919) 2017-05-11 21:00:41 +02:00
Tobrun
ab20413edf [android] - add 3D buildings example (#8845)
[android] - add support for filter for fillextrusionlayer.
2017-05-03 08:59:55 +02:00
Lauren Budorick
f6e79d7073 [core] Render fill-extrusion layers (#8431) 2017-04-27 15:56:55 -07:00
Tobrun
184cbda4e8 [android] - fix test app runtime permissions (#8823) 2017-04-26 12:16:38 +02:00
Tobrun
eed7dedf03 [android] - rework instrumentation tests (#8793) 2017-04-21 23:07:19 +02:00
Pablo Guardiola
c6be40b71b [android] Add a way to use a custom location source (#8710)
* add a way to use a custom location source

* add custom location engine example to test app
2017-04-20 20:10:29 +02:00
Tobrun
07573932a9 [android] - move calculation of LatLngBounds to core (#8765) 2017-04-20 17:31:07 +02:00
Tobrun
553ec88dc0 [android] - expose source layer identifier (#8709) 2017-04-19 15:05:08 +02:00
Tobrun
f045559b14 [android] - derived source attribution (#8630) 2017-04-13 17:24:46 +02:00
Tobrun
21f54cc506 [android] - add binding integration for Map::setLatLngbounds, add example (#8622) 2017-04-13 16:06:09 +02:00
Pablo Guardiola
7a66ec6c5e refactor signature from Hole to List<LatLng> (#8722) 2017-04-12 17:45:33 +02:00
Fabian Guerra
12b6fdbe3b Merge branch 'release-ios-v3.5.0-android-v5.0.0' into boundsj-merge-release-branch
# Conflicts:
#	cmake/core-files.cmake
#	mapbox-gl-js
#	platform/android/CHANGELOG.md
#	platform/ios/CHANGELOG.md
#	platform/macos/CHANGELOG.md
#	platform/qt/bitrise-qt5.yml
#	src/mbgl/gl/attribute.hpp
#	src/mbgl/gl/context.cpp
#	src/mbgl/gl/program.hpp
#	src/mbgl/map/map.cpp
#	src/mbgl/programs/program.hpp
#	src/mbgl/renderer/painter.cpp
2017-04-11 21:46:23 -04:00
Pablo Guardiola
b71d86599d [android] Polygon holes (#8557)
* add 1 hole support to polygon-related classes

* fix no hole crash and add triangle hole shape example

* add support for multiple holes
2017-04-11 19:10:46 +02:00
Tobrun
d7f9378bca [android] - avoid nullpointer by validating Mapbox.java creation when validating accessTokens. (#8680) 2017-04-11 00:44:18 +02:00
Anand Thakker
693c9f3641 [core] Add DDS support for {text,icon}-size (#8593)
* Update gl-js and generate style code

* Factor out packUint8Pair() helper function

* Draft implementation of DDS for {text,icon}-size

Ports https://github.com/mapbox/mapbox-gl-js/pull/4455

* Fix text-size/composite-function-line-placement test

* Refactor to PaintPropertyBinders-like strategy

* Dedupe gl::Program construction

* Use exponential function base for interpolation

* Dedupe coveringZoomStops method

* Fixup tests

* Fix CI errors (hidden within #if block)
2017-04-06 15:29:59 -04:00
John Firebaugh
a261f7ff53 [android] Preflight argument validity before constructing LatLng 2017-04-06 09:22:51 -07:00
John Firebaugh
1a9bccbb85 [core] Add DDS support for icon-image 2017-03-31 14:17:33 -07:00
John Firebaugh
743d954053 [core] Add DDS support for text-rotate 2017-03-31 13:26:27 -07:00
Tobrun
939526bac4 [android] - transition options for layer properties (#8509)
[android] fixup highlevel bindings for transition options

finish integration
2017-03-31 17:51:26 +02:00
Tobrun
f0b683237d [android] - disable requiring supported languages for test applications (#8597) 2017-03-31 13:48:27 +02:00
Pablo Guardiola
1a0dc66486 update test documentation adding how to run firebase tests within android studio (#8566) 2017-03-30 23:23:44 +02:00
Tobrun
a46d91f7c5 Revert 5.x touch changes (#8585)
* Revert "[android] - only dispatch events if not handled by MarkerView (#8447)"

This reverts commit 09d76854ab.

* Revert "[android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272)"

This reverts commit 1693b389d7.
2017-03-30 17:30:47 +02:00
Ivo van Dongen
61e2695190 [android] resource transform callback example 2017-03-30 15:27:05 +03:00
Tobrun
a827799174 [android] - fixup location permissions in test app pre Android Marshmallow (#8559) 2017-03-30 13:31:04 +02:00
Tobrun
74bf366666 [android] - Update CircleLayerActivity with style switching. (#8274) 2017-03-30 13:30:43 +02:00
Tobrun
a4959131b2 [android] - transition options in milliseconds, added test cases, fixup test activity code (#8576) 2017-03-30 13:25:56 +02:00
Molly Lloyd
47c1e42ac1 [core] implement dds for text-offset 2017-03-28 11:06:58 -07:00
Ivo van Dongen
6fa578aa4e [android] geojson source - add conversion tests 2017-03-28 15:44:22 +03:00
Tobrun
66ed1a1080 [android] - harden offline region creation, add include method, expose world bounds, update tests (#8517) 2017-03-24 18:41:49 +01:00
John Firebaugh
e488ca702e Merge branch 'release-ios-v3.5.0-android-v5.0.0' 2017-03-21 12:04:20 -07:00
Tobrun
09d76854ab [android] - only dispatch events if not handled by MarkerView (#8447)
use onTouch listener to ignore dispatching action up events to MapView when they are already handled by MarkerView.
2017-03-17 15:23:28 +01:00
Konstantin Käfer
9544dcc483 [android] move build to Android Studio 2017-03-17 14:25:37 +01:00
Ivo van Dongen
a3121fc7a3 [android] query source features 2017-03-10 11:08:32 -08:00
Tobrun
ed16a7d632 [android] - zoom to rounded levels 2017-03-10 09:37:00 -08:00
Antonio Zugaldia
01f126cbc6 [android] remove unnecessary manifest permissions 2017-03-09 18:30:03 -08:00
Antonio Zugaldia
359507345d [android] remove unnecessary manifest inclusion 2017-03-09 18:30:03 -08:00
Tobrun
d1e50b3ab8 [android] - add style loading callback (#8291)
* [android] - add style loading callback that is invoked when a style finishes loading.

* fixup language + add support for adding a callback when invoking setStyle with the default styles.
2017-03-09 17:20:56 -08:00