Tobrun
a5f6ee6963
[android] - update gradle and plugin for Android Studio 2.3 stable, update support library to latest version, add dexOptions to increase build times. ( #8271 )
2017-03-03 17:36:40 -05:00
Tobrun
95fdf3ca0d
[android] - add unit test for Mapbox ( #8228 )
2017-03-01 16:23:23 -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
f8766f704a
[android] fix unit tests for #7944
2017-02-28 14:05:14 -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
Ivo van Dongen
f0de56cffa
[android] source list accessor + example
2017-02-28 09:33:04 -08:00
Ivo van Dongen
ec1dc2622b
[android] layer list accessor + example
2017-02-28 09:33:04 -08:00
Tobrun
47dcfe7d44
[android] - add javadoc to test activities. ( #8203 )
...
* [android] - add javadoc to test activities.
* fix checkstyle issue
2017-02-27 23:56:06 +01:00
Ivo van Dongen
465c949153
[android] jni high level binding refactor
2017-02-24 17:54:20 +02:00
Ivo van Dongen
d1f444d63e
[android] remove nonexistent layer or source handling
2017-02-23 15:07:43 -08:00
Tobrun
a394578876
[android] - rename simple example map view ( #8132 )
...
* [android] - rename simple example map view from Wear module to explicitly state Wear in it's name
* ignore flaky test
2017-02-21 15:00:48 +01:00
Anand Thakker
062b18374d
[core] Enable property functions for text-{field,transform} ( #7944 )
2017-02-17 13:16:25 -08:00
Tobrun
0c0d7ceaeb
[android] - use project wide configurations for all modules + fixup wear compile error ( #8066 )
2017-02-15 19:56:31 +01:00
Tobrun
3cde400b9f
[android] - ignore device dependant tests ( #8063 )
2017-02-15 16:01:58 +01:00
Antonio Zugaldia
0b3873c7b5
[android] Update SDK dependency to MAS beta.1 ( #8020 )
...
* remove unused repositories
* move from snapshot to beta.1
2017-02-10 14:30:23 -05:00
Ivo van Dongen
c65e8bfa62
[android] Refactor composite stop types and conversions
2017-02-09 11:16:26 -06:00
Ivo van Dongen
343d161ac1
[android] fix reference table overflow in query rendered features
2017-02-08 15:15:13 +02:00
Pablo Guardiola
d9f2cd5df5
fix unable to find developer-config xml when building the project ( #7963 )
2017-02-07 17:17:10 +01:00
Tobrun
2c7350c093
7798-ObjectAnimator-rotation ( #7907 )
2017-02-07 07:31:39 +01:00
Tobrun
3212e543b7
[android] - wrap longitude values from core ( #7852 )
2017-02-04 10:31:59 +01:00
Tobrun
88c4bd1036
[android] - enforce usage bitmap for icon, cleanup test app resources ( #7906 )
2017-02-04 10:31:43 +01:00
srabenja
1dead1d194
Disable double tap gesture to zoom in ( #7879 )
2017-02-04 08:17:59 +01:00
Antonio Zugaldia
c97ec3be03
[android] Extract telemetry into MAS
...
* [android] add the mapbox-android-telemetry module dependency.
* update javadoc
2017-02-03 15:12:13 -05:00
Ivo van Dongen
f562ecdfc3
[android] data driven style implementation
2017-02-02 09:44:42 -08:00
Tobrun
329051a1eb
[android] - force portrait mode to make instrumentation test run more reliable ( #7885 )
2017-01-27 14:44:26 +01:00
Konstantin Käfer
62ea1f2185
[core] remove trailing whitespace, add trailing newlines, add space after //
2017-01-27 11:44:16 +01:00
Austin O'Neil
af0ff55f16
[Android] Make spinner under Add Markers in Bulk readable ( #7836 )
2017-01-25 13:27:04 +01:00
Antonio Zugaldia
d1a1a03435
[android] Move the simple map activity to a "Basic" section, always listed first ( #7817 )
...
* move the simple map activity to a basic section, always listed first
* category_first -> category_basic
2017-01-23 14:22:03 -05:00
Cameron Mace
9b72644191
Test app refactor ( #7598 )
2017-01-23 13:27:02 -05:00
Tobrun
fbe0320c9c
[android] - zoom to at least 2 when tracking is enabled ( #7795 )
...
* [android] - zoom to at least 2 when tracking is enabled, introduce interface for zoom invalidation, simplify example
* fixup unit test, added test for new interface + focal point interface
2017-01-23 17:51:09 +01:00
Justin R. Miller
f6715694f9
refs #6779 : mobile & Mac SDK style transition options ( #7711 )
2017-01-18 12:43:08 -08:00
Tobrun
c637a658db
[android] - remove deprecated emerald ( #7767 )
...
[android] - remove deprecation annoation for setStyle
[android] - dismiss tracking on gesture deprecation cleanup
2017-01-18 18:26:58 +01:00
Tobrun
9a635672a6
[android] - update build tools to bitrise supported version ( #7729 )
2017-01-15 21:11:42 +01:00
Tobrun
f18c0b8d1e
[android] - cleanup telem, disabled logging, exponential backoff, local broadcast ( #7605 )
2017-01-10 17:26:06 +01:00
Antonio Zugaldia
92dff9ee93
update gradle files and packages to use smaller versions of MAS and save methods ( #7642 )
2017-01-10 11:11:09 -05:00
Tobrun
ed4e7a1134
[android] - Show bus stops and route Circle Layer Activity ( #7402 )
2017-01-05 09:47:51 +01:00
Tobrun
dff42cac68
[android] - harden MapboxMapOptions, extract duplicate fragment logic, fixup DoubleMapActivity ( #7507 )
2016-12-21 21:06:26 +01:00
Tobrun
2b38af8778
[android] - update lost to 2.0.0, gradle cleanup ( #7494 )
2016-12-21 12:32:07 +01:00
Tobrun
83f1350747
MapboxAccountManager refactor, removal deprecated accesstoken ( #7462 )
...
* [android] - move object ownership, move depenencies and responsibility.
* [android] - MapboxAccountManager refactor, removal deprecated accesstoken.
2016-12-17 20:25:16 +01:00
Cameron Mace
20b958301e
Adds checkstyle to CI ( #7442 )
...
* adds checkstyle to CI
* fixed gradlew path
* resolved testapp checkstyle violations
* added back mapboxMap variable for test
* checkstyle annotations
* checkstyle SDK round 1
* maps package checkstyle
* rest of SDK checkstyle
* checkstyle gesture library
* checkstyle test
* finished rest of test checkstyle
* resolved all checkstyle errors
* fixed class name
* removed old test file
* fixed camera postion test
* fixed native crash
2016-12-16 16:19:15 -05:00
Tobrun
f95b4838ea
[android] - move min/max zoom to transform class, cleanup usage of double vs float, renaming for parity ( #7306 )
2016-12-15 16:57:30 +01:00
Tobrun
858854ba03
[android] - wrap mapbox map test in ViewActions ( #7451 )
2016-12-15 14:28:08 +01:00
Tobrun
05c6935556
[android] - add OnMarkerView add callback ( #7429 )
2016-12-14 22:09:30 +01:00
Cameron Mace
3d5983f6f6
Allows for setting the user location icon to transparent ( #7393 )
...
* allows for setting the user location icon to transparent
* removed color check
2016-12-14 12:51:04 -05:00
Cameron Mace
39b839f3dd
added custom layer proguard rule ( #7411 )
2016-12-13 18:08:02 -05:00