Commit Graph

62 Commits

Author SHA1 Message Date
Tobrun
701d7160c3 [android] #4845 - remove robotium, migrate to espresso 2016-08-03 16:48:36 -04:00
Ivo van Dongen
10b2cc60a7 [android] #5610 - Runtime style api - part 2 2016-08-02 16:58:03 -04:00
Ivo van Dongen
9a3eadfd5b [android] #5610 - Initial Runtime Style Bindings
[android] #5610 - Adjusted public api after discussion

[android] #5610 - added jni binding for NativeMapView#getLayer

[android] #5610 - Added initial test Activity

[android] #5610 - Started on NativePeer implementation for Layer

[android] #5610 - replaced low-level jni code with high-level for native getLayer

[android] 5610 - completed basic layer peer class - constructible from java and c++

[android] #5610 - removed reference that was redundant and causing the finalizer exception

[android] #5610 - Added a property peer

[android] #5610 - added value type to do type conversions - wip

[android] #5610 - simplified property conversion approach - wrapped value with jenv

[android] #5610 - added some more value conversions

[android] #5610 - Finished conversion for basic types

[android] #5610 - allow color's to be set as either an android color int or a String to support all formats in the spec

[android] #5610 - encode color ints as rgba to retain alpha channel

[android] #5610 - recalculate classes after paint property

[android] #5610 - more examples

[android] #5610 - fixed the example

[android] #5610 - cleaned up example code before continueing

[android] #5610 - added layout property example

[android] #5610 - set visibility on layer

[android] #5610 - added removeLayer and example

[android] #5610 - added more type conversions

[android] #5610 - Started on peer classes for layer implementations - WIP

[android] #5610 - First complete layer subclass peer implementation

[android] #5610 - added a little bit of structure before adding the other layer types

[android] #5610 - generate the c++ headers from the style spec

[android] #5610 - make sure the visibility is set as a string

[android] #5610 - Generate c++ layer peer class implementations from the style spec

[android] #5610 - generate java layer peer classes

[android] #5610 - cleanup comments

[android] #5610 - register all c++ peer classes with jni

[android] #5610 - addLayer

[android] #5610 - comment out broken case

[android] #5610 - Sources api - very much WIP

[android] 5610 - GeoJson source implementation and geojson conversion

[android] #5610 - cleanup add source/layer example a bit

[android] #5610 - initial filter api

[android] #5610 - Added filter api on the relevant Layer classes

[android] #5610 - raster layer is not filterable

[android] #5610 - actually make it compile

[android] #5610 - completed filter implementation

[android] #5610 - Vector and Raster Source + examples

[android] #5610 - removed superfluous interface, moved filters to the correct package

[android] #5610 - fixed comments

[android] #5610 - moved tests to the right package

[android] #5610 - hide difference between paint and layout properties in public api, make more performant set method for proeprties

[android] #5610 - fix rebase issue
2016-07-26 16:29:26 -04:00
Cameron
765e8d2be1 [android] latlngbounds includes added in builder
Fixes #5574

added includes test
2016-07-14 12:13:44 +02:00
Tobrun
fd5ee40506 [android] #5631 - add a concrete java exception when creating a marker without the required position field.
[android] #5631 - updated test cases to handle invalid position on a Marker
2016-07-14 09:36:51 +02:00
Tobrun
a40953dd71 [android] - Remove StyleInitializer class, obsolete with introduction MapboxAccountManager 2016-07-05 13:34:22 +02:00
Tobrun Van Nuland
436c23c40b [android] #5171 - introduce new select/deselect animation system for view markers 2016-06-05 14:23:24 +02:00
Tobrun Van Nuland
aa83245c07 [android] #5193 - fix broken test case on Icon 2016-06-03 19:59:24 +02:00
Tobrun
fe40127b12 [android] #4929 - fix unit tests MyLocationSettings 2016-06-02 17:21:20 -05:00
Tobrun Van Nuland
6c93bb4006 [android] - add unit test for MarkerView 2016-05-25 15:14:54 +02:00
Tobrun Van Nuland
1d7d8a9f2f [android] #5102 - update marker view position correctly by comparing markers based on id instead of location 2016-05-25 13:07:54 +02:00
Tobrun
d8dfc921b4 [android] #3276 - fix unit tests on MapboxMapTest related to Marker/BaseMarker 2016-05-20 12:00:02 +02:00
Tobrun
e4a63684ec [android] - fixes style init bug, added unit test to prevent regression 2016-05-12 16:29:47 +02:00
Tobrun
da422ff44d [android] #4702 - upgrade default styles, deprecate Style string definition in favour versioned styling methods. 2016-05-06 11:06:50 -07:00
Tobrun
bf493f96cd [android] #4800 - correct background offsets from attributes 2016-04-26 22:24:18 +02:00
Tobrun
e2510fce79 [android] #4800 - default location view from start: introduced attributes, update MapboxMapOptions, added tests. updated MockParcel 2016-04-26 22:24:17 +02:00
Tobrun
b39d289920 [android] #3231 - add support for tinting attribution icon through xml - MapboxMapOptions, AttributionDialog will use the same color values 2016-04-26 12:28:36 +02:00
Tobrun
158e163a69 [android] #4814 - simplified mock parcel testing, update tests to reflect these changes 2016-04-24 10:23:49 +02:00
Tobrun
f469cee1b4 [android] #4396 - fixup mason build issue 2016-04-23 07:16:37 +02:00
Tobrun
ef65d2015c [android] #4335 - add clear method for removing annotations to MapboxMap 2016-04-13 18:15:51 +02:00
Tobrun
35b579fde1 [android] #4635 - fix rotate disabled with location tracking 2016-04-08 11:25:50 +02:00
Tobrun
f3c64a4c95 [android] - Marker test coverage 2016-04-08 10:06:58 +02:00
Tobrun
86003d1fb4 [android] - added tests for Annotation 2016-04-05 09:33:45 +02:00
Brad Leege
001d24dc33 [android] #4354 - Ensuring userAgent is always ASCII formatted 2016-04-04 17:32:40 -05:00
Tobrun
e692096581 [android] #4565 - improved coverage of camera package 2016-04-01 10:59:23 +02:00
Tobrun
3f10f74a70 [android] #4520 - don't update camera position after padding call 2016-03-31 11:07:22 +02:00
Tobrun
9fc8cf39a8 [android] #3832 - improve unit testing geometry package 2016-03-31 09:38:28 +02:00
Tobrun
8262846294 [android] #4487 - ArrayInOutOfBoundsException fix for polyline and polygon 2016-03-29 14:07:52 -05:00
Tobrun
f8b6e1f7da [android] #4487 - ArraysInOfBoundsException fix for addMarkers 2016-03-29 14:07:52 -05:00
Brad Leege
7a9a58f4fb [android] #4475 - Only wrapping when needed in LatLng.wrap(). Making Javadoc more clear. Making tests consistent. 2016-03-25 16:55:07 -05:00
Brad Leege
335e346ed1 [android] #4475 - Introducing LatLng.wrap() and removing usage of wrap() in JNI's nativeLatLngForPixel() 2016-03-25 16:55:07 -05:00
Brad Leege
75913a5dae [android] #4473 - Fixing toString() tests for LatLng.toString() 2016-03-25 14:22:21 -05:00
Tobrun
4681d0b545 [android] #4320 - rename including to contains 2016-03-15 14:00:01 -04:00
Tobrun
93123e4d0e [android] #4318 - move min/max zoom level to MapboxMap 2016-03-15 13:56:53 -04:00
Tobrun
808bf7004a [android] #4076 - MapboxMapOptions fix 2016-03-09 17:46:00 -05:00
Tobrun
3679dc254f [android] #4076 - MapboxMapOptions initial version 2016-03-09 16:00:35 -05:00
Tobrun
d994f2de0f [android] #4166 - move style url to map view for improved async loading 2016-03-03 07:38:23 +01:00
Tobrun
896a62e589 [android] #3755 - fix package visibility issue with camera package, added javadoc and general cleanup 2016-02-24 13:06:56 +01:00
Tobrun
7b40cbcfd9 [android] #4038 - fix crash on polygons and polylines with empty points + formatting commit 2016-02-23 13:17:27 +01:00
Tom MacWright
d697028029 Hit missed lines in equality tests 2016-02-19 15:26:44 +01:00
Tobrun
9ec0103431 [android] #4018 - migrated max/min zoom to UiSettings + added tests + update sample app 2016-02-19 15:24:16 +01:00
Tobrun
27ed15c18c [android] #4017 - update unit test for MapboxMap 2016-02-19 15:22:56 +01:00
Tobrun
f2299c30c3 [android] #4015 - added unit test for CameraPosition 2016-02-19 15:21:35 +01:00
Tobrun
e4fa1816a7 [android] #4009 - add tests for tracking settings, optimise architecture to make it testable through unit tests 2016-02-18 16:06:10 +01:00
Tobrun
1180df00f2 [android] #4007 - improve coverage geometry package 2016-02-18 13:32:41 +01:00
Tobrun
cd13e2b769 [android] #4005 move annotations to correct package 2016-02-18 11:48:10 +01:00
Tobrun
a24d06b992 [android] #4003 - add unit tests for InfoWindow 2016-02-18 11:46:48 +01:00
Tobrun
daedb3ddb2 [android] #4000 - add unit tests icon 2016-02-18 10:21:12 +01:00
Tobrun
373cd33df0 [android] #3963 - move and relax if permission check
[android] #3963 - update unit tests, moved permission check to MapView to be mocked during tests
2016-02-16 14:05:08 +01:00
Tobrun
fb9021f929 [android] #3756 - unit test annotations integration in MapboxMap
[android] #3756 - unit tests fixes

[android] #3756 - allow using inheritance Marker, added example to WindowAdapterActivity
2016-02-15 17:05:15 +01:00