Commit Graph

784 Commits

Author SHA1 Message Date
Tobrun
ed51462428 [android] - convert camera position values coming from core (#8794) 2017-04-21 19:15:26 +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
86433dfd84 Harden telemetry event dispatch (#8767)
* [android] - harden telemetry event dispatch

* fixup
2017-04-20 16:18:35 +02:00
Tobrun
553ec88dc0 [android] - expose source layer identifier (#8709) 2017-04-19 15:05:08 +02:00
Tobrun
589d71d7ad [android] - post resetting invalidation flag to avoid race condition (#8738) 2017-04-18 16:13:15 +02:00
Tobrun
8e9eaaabfc [android] - synchronize display and context initalisation with create surface to avoid EGL bad surface (#8759) 2017-04-18 16:12:27 +02:00
Pablo Guardiola
cf8584538c remove duplicated resources (#8743) 2017-04-13 20:05:20 +02:00
John Firebaugh
f1c06f8d83 [all] Remove redundant scale-related camera methods
We don't need to have two different measurement systems for map zoom.
2017-04-13 10:28:44 -07: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
Pablo Guardiola
df22b614af add compass drawable initialization in ui settings (#8695) 2017-04-10 12:47:07 +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
Tobrun
b404457a74 [android] - apply mix/max zoom xml attributes (#8631) 2017-04-05 16:20:11 +02:00
Tobrun
e34b471842 Release android v5.0.2 (#8629)
* [android] - update CHANGELOG.md for v5.0.2 release

* [android] - bump version name to 5.0.2

* [android] - fixup javadoc errors

* bump SNAPSHOT version
2017-04-04 21:14:32 +02:00
Konstantin Käfer
f86333961e [core] cache binary shaders on Android 2017-04-03 11:01:43 -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
8e538b4d06 Cherry pick v5.0.2 changes (#8586)
* [android] execute resource transform callback on the right thread

* [android] allow resetting of resource transform callback

* update CHANGELOG for v5.0.2

* [android] - correct anchoring when Icon is updated (#8519)
2017-03-31 13:48:47 +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
Tobrun
6c92199a16 [android] - Transifex intregration and Dutch translations. (#8556)
add Catalan translations
2017-03-30 17:00:23 +02:00
Ivo van Dongen
2bfbe90765 [android] allow resetting of resource transform callback 2017-03-30 15:27:05 +03:00
Tobrun
a4959131b2 [android] - transition options in milliseconds, added test cases, fixup test activity code (#8576) 2017-03-30 13:25:56 +02:00
Tobrun
152b48fd92 [android] - consitent use of ms unit for time in java code, unit conversion always happens in cpp code (#8578) 2017-03-30 13:25:42 +02:00
Molly Lloyd
47c1e42ac1 [core] implement dds for text-offset 2017-03-28 11:06:58 -07:00
John Firebaugh
5f40297526 [core] Update mapbox-gl-js submodule
Includes lowp ⇢ highp fix for shader color attributes / uniforms.
2017-03-28 11:06:58 -07:00
Ivo van Dongen
02fd38ccbc [android] add option to set geometry and feature on geojson source 2017-03-28 15:44:22 +03:00
Ivo van Dongen
fa7489fb7e [android] geojson conversion optimisation 2017-03-28 15:44:22 +03:00
Tobrun
f9462adf8a [android] - mark non-translatable resources, remove debug string resources, expose strings in public.xml for resource overloading. (#8530) 2017-03-28 12:18:22 +02: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
Tobrun
c7722b54a8 [android] - correct anchoring when Icon is updated (#8519) 2017-03-24 18:41:20 +01:00
Tobrun
83cef9eb68 [android] - update VectorSource javadoc (#8521)
* [android] - update VectorSource docs on VectorSource creation

* [tests] Test only CameraOptions center, zoom in CameraToLatLngBounds
2017-03-24 17:55:55 +01:00
Antonio Zugaldia
f169577aab [android] revert version name to snapshot 2017-03-24 09:49:00 -04:00
Antonio Zugaldia
3a6d748bc4 [android] [auto] Update properties to version 5.0.1 in preparation for build. 2017-03-24 09:49:00 -04:00
Konstantin Käfer
3c91b6b7de [core] cache binary shaders on Android 2017-03-22 15:59:10 +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
e4981d5bd0 Bump Android SNAPSHOT version (#8453)
* [android] [auto] Update properties to version 5.0.0 in preparation for build.

* [android] - bump snapshot version

* [android] remove typo in gradle-javadoc.gradle

* [android] revert to 5.0.0-SNAPSHOT

* [android] revert to 5.0.0

* [android] [auto] Update properties to version 5.0.0 in preparation for build.

* next release is now 5.1.0-SNAPSHOT
2017-03-18 11:52:18 +01: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
Tobrun
2e6c0263d8 8322 javadoc 5.0.0 release (#8438)
* [android] - update javadoc 5.0.0 release

* update annotation and sources package javadoc

* update javadoc on MapboxMap and MapView
2017-03-17 13:24:07 +01:00
Tobrun
abeca4fe16 [android] - take in account focalpoint when performing transformations, simplify zoom methods (#8416) 2017-03-17 13:23:53 +01:00
Tobrun
8736b733f9 [android] - fix LOST location updates (#8445) 2017-03-17 13:22:11 +01:00
Tobrun
6fb1fb52af [android] - update proguard configuration for 5.0.0 (#8437) 2017-03-16 17:14:40 +01:00
Pablo Guardiola
30c848b9d8 [android] add changing compass view image feature to the sdk (#8301) 2017-03-14 16:31:17 +01:00