Commit Graph

750 Commits

Author SHA1 Message Date
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
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
Ivo van Dongen
e3cc5ddfdd [android] don’t crash on map changed callback when OnMapChangedListener throws a runtime exception 2017-03-14 14:58:20 +02:00
Antonio Zugaldia
5120cbada4 [android] Change version name back to 5.0.0-SNAPSHOT 2017-03-12 16:37:51 -07:00
Antonio Zugaldia
fae8a02701 [android] make BubbleLayout public 2017-03-10 16:00:51 -08:00
Antonio Zugaldia
6c6e895b23 [android] [auto] Update properties to version 5.0.0-beta.3 in preparation for build. 2017-03-10 13:48:56 -08: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
8d5e86dd1f [android] Include the telemetry service to simplify set up 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
Tobrun
803c1c46fe [android] - harden mapZoomButtonController to avoid null pointer exceptions (#8332) 2017-03-09 17:20:44 -08:00
Tobrun
1693b389d7 [android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272) 2017-03-09 16:59:10 -08:00
Antonio Zugaldia
b8283e838e [android] renames MultiPoint to BasePointCollection 2017-03-09 15:44:27 -08:00
Antonio Zugaldia
495d73d187 [android] fix checkstyle 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
c533b7077d [android] update version to local package build config 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
4ca65b9701 [android] set user agent on initialization 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
9f42383d8a [android] re-add build config fields 2017-03-09 15:44:07 -08:00
Ivo van Dongen
b2b5f9e571 [android] query source features 2017-03-09 13:11:23 -08:00
John Firebaugh
65f74224ab Merge master into release-ios-v3.5.0-android-v5.0.0 2017-03-08 17:31:03 -08:00
Tobrun
e115d55ef6 MyLocationView activate/deactivate LocationSource (#8255)
* [android] - activate/deactivate the locationSource when toggling the MyLocationView state.

* correct accuracy width
2017-03-08 15:01:15 -08:00
Tobrun
ffa78e2545 [android] - don't disable tracking when animation the camera bearing. (#8279) 2017-03-08 09:39:20 -08:00
Ivo van Dongen
732cd8d20a [android] use PropertyValue for default values in functions 2017-03-07 09:48:12 -08:00
Ivo van Dongen
b5d0a661c5 [android] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00
Antonio Zugaldia
f1e3c32f7e Updates version name and CHANGELOG after 5.0.0-beta.2 release (#8254)
* go back to 5.0.0-SNAPSHOT

* update changelog
2017-03-02 09:58:11 -05:00
Tobrun
ef82095a21 [android] - add accessibility support to the Android SDK by applying content descriptions on Views overlain on the map. (#8230) 2017-03-01 17:07:01 -05:00
Tobrun
95fdf3ca0d [android] - add unit test for Mapbox (#8228) 2017-03-01 16:23:23 -05:00
Antonio Zugaldia
981413c7c4 [android] [auto] Update properties to version 5.0.0-beta.2 in preparation for build. 2017-03-01 15:18:59 -05:00
Ivo van Dongen
74d42a45e2 [android] keep default file source alive for the duration (#8226) 2017-03-01 11:33:51 -05:00
Pablo Guardiola
c689eed273 [android] add line starts with a semicolon and empty statement checkstyle rules and fix related checkstyle issues (#8231) 2017-03-01 10:45:22 -05:00
Tobrun
f44e4eb2de Only listen to connectivity broadcast events when needed (#8222)
* [android] - only listen to connectivity change events when needed.

* [android] - fix compile var args warning, remove redundant test
2017-03-01 09:46:47 -05:00
Anand Thakker
f901e776b3 [core] Implement data-driven styling for {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939)
* Add symbol dds attributes and adapt style code generation

* Update to mapbox-gl-js/master

* Refactor SymbolFeature as a subclass of GeometryTileFeature

Prepares for enabling DDS on symbol paint properties by allowing the
SymbolFeatures, which we keep around after constructing SymbolLayout,
to be used in evaluating data-driven paint properties later in the
layout process.

* Draft approach for splitting icon/text paint properties

The `Program` types are set up to bind GL attributes to each of the
data-driven paint properties specified in the `PaintProperties` type
provided.  Since `SymbolPaintProperties` specifies both `Text*` and
`Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph
programs each attempt to bind roughly double the number of attributes
that they actually need.

This change addresses this by:
- Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`.
- The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter.
- The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type.

* check in generated style code

* Populate paint buffers for symbol DDS properties

* Address first round of review comments

* Refactor VectorTile{Layer,Feature} to explicitly share data

* Update submodule
2017-02-28 19:54:24 -08:00
Ivo van Dongen
99786e1e3f [android] insert layer at index 2017-02-28 09:33:04 -08:00
Ivo van Dongen
a9d2929819 [android] remove layer at index 2017-02-28 09:33:04 -08:00
Ivo van Dongen
dc21396d71 [android] insert layer above 2017-02-28 09:33:04 -08:00
Ivo van Dongen
3040d40772 [android] remove source returns reference 2017-02-28 09:33:04 -08:00
Ivo van Dongen
fedb21e35b [android] remove layer returns reference 2017-02-28 09:33:04 -08:00