Commit Graph

257 Commits

Author SHA1 Message Date
Justin R. Miller
6aa00afd31 [ios, android] add visual tests for fill, line, & numeric filter styling (#6433) 2016-09-23 10:13:11 -07:00
Ivo van Dongen
eb97dbe383 [android] Sources: peer model, mutability (#6054) 2016-09-21 11:04:32 +02:00
Tobrun
72e3d6906d [android] - do not update marker while creating (#6314)
* [android] - do not update marker while creating, add activity to prevent regression

* [core] - add asserts to incorrect usage of update and remove annotations api

* [android] - fix marker tests
2016-09-19 18:03:49 -07:00
Tobrun
9ef65440b6 [core] [android] - public api configurable base endpoint (#6309)
add runloop to test
2016-09-15 22:01:09 -07:00
Tobrun
217c43d125 [android] - disable closable strictmode (#6327) 2016-09-15 15:43:52 -07:00
Brad Leege
1a2680b5b7 [android] #6321 - New Staging Server PK Access Token (#6323) 2016-09-13 14:26:21 -07:00
Tobrun
36a744c96a [android] - throw concrete exception when generated test cases fail to read the Activity members (#6281) 2016-09-08 10:10:33 -07:00
Cameron Mace
6a39cf5aae [android] Checkstyle fixes round 1 (#6234)
* removed last of hungarian notation from testapp and fixed other checkstyle issues

* added back MapboxMap for espresso
2016-09-02 14:48:49 -04:00
Tobrun
57e7cc97d0 [android] - fix breaking build on master (#6225)
* [android] - fix breaking build, by implementing mapboxMap on VideoViewActivity

* fix layout file for auto generated tests

* [android] fix resource id
2016-08-31 21:27:01 +02:00
Cameron Mace
fe28b57fe0 [android] added video view example (#6198)
* [android] added video view example

* removed map ready callback
2016-08-31 11:56:57 -04:00
Tobrun
8deb7aaa79 [android] - 5844 remove stop gap for update-able shape annotations (#6187)
* [android] - remove stopgap updatable shape annotations
2016-08-29 17:43:32 +02:00
Sylvain HOCQ
eca745d63a [android] add method addMarkerViews with only one invalidate
* add method addMarkerViews with only one invalidate

* clean sample BulkMarkerActivity
2016-08-29 17:37:09 +02:00
Tobrun
ed431c925c [android] #6083 - add circle example (#6086)
* add method addMarkerViews with only one invalidate

* [android] #6083 - add circle example
2016-08-29 13:18:32 +02:00
Minh Nguyễn
f996558bc2 [android] Radiant → radian (#6169)
* [android] Radiant → radian

* [android] #6169 - testHashcode
2016-08-26 09:41:46 -07:00
Tobrun
50da6e5e71 6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting

* [android] - formatting

* [android] #6039 - fixes focal point when padding mylocationview

* [android] #5977 - MyLocationView.setPadding example + formatting Manifest

* [android] - Reset to default configuration, cleanup class
2016-08-23 12:53:36 +02:00
Tobrun
d1c8dd5038 [android] #5211 - update yaml to run on device lab, update test with NoSuchSource exception (#6073) 2016-08-18 16:23:34 +02:00
Tobrun
fff0ebaa17 5859 generate sanity tests (#5870)
* [android] #5859 - generate espresso tests

[android] #5859 - cleanup xml files, use all the same resource id for map view

[android] #5859 - update scripts

[android] #5859 - update Activity to match mapboxMap naming

[android] #5859 - make SurfaceViewMediaControlActivity compatible

[android] #5859 - make MarkerViewScaleActivity test generation compatible

[android] #5859 - make PolygonActivity test generation compatible

[android] #5859 - integration within make file

[android] #5859 - made CameraPostion generation safe

[android] #5859 - generate sanity test

[android] #5859 - add generated test cases

[android] #5859 - add documentation

* [android] #5859 - remove generated files, introduce gen package, added gitignore to package

* [android] #5859 - regenerated test code

* [android] #5859 - added AWS gradle plugin + bitrise configuration

* [android] #5859 - fixes running locally without having the properties configured

* [android] #6010 - remove python from android sdk

* [android] #5859 - update docs about aws gradle plugin
2016-08-17 08:53:33 +02:00
Tobrun
31f15c6c62 [android] - replaced default colors with material design colors, changed textcolor to white, added click event on toolbar arrow, made sanity test generation compatible (#6004) 2016-08-16 18:13:56 +02:00
Ivo van Dongen
01a33749f9 [android] #5941 - add geojson typed constructor to GeoJsonSource and an example 2016-08-16 17:04:35 +02:00
Ivo van Dongen
4e211548d5 [android] #5869 - visible feature querying 2016-08-16 11:38:30 +02:00
Ivo van Dongen
c34130ac6d [android] #6014 - add example with numerical filter 2016-08-16 10:53:34 +02:00
Ivo van Dongen
743d134a32 [android] #5852 - geojson source clustering 2016-08-13 11:20:08 -04:00
Ivo van Dongen
ddf0d25845 [android] #5978 - fix number property filters [ci skip] 2016-08-12 18:47:05 -04:00
Tobrun
272ec0c30b [android] #5867 - backwards compatible progress bar 2016-08-12 17:58:27 -04:00
Tobrun
b264c5cddb [android] #5963 - fixes location tracking mode activity disables location when rotated 2016-08-12 17:46:54 -04:00
Tobrun
0ae941d2a8 [android] #5934 - resolves memory leaks on animators + location listeners 2016-08-11 18:13:12 -04:00
Cameron
c354ae523a [android] - updated mas in testapp 2016-08-10 14:45:45 -04:00
Tobrun
78387e9167 [android] fix location permissions already accepted 2016-08-09 18:50:51 -04:00
Ivo van Dongen
d9145f504b [android] #5887 - Custom layer crash fix + updated test case 2016-08-08 11:33:31 -04:00
Ivo van Dongen
5ac95b9dcf [android] #5885 - fix invalid jobject error and some build system updates 2016-08-08 08:54:58 -04:00
Tobrun
d9873c0459 [android] #5888 - handle location permissions for non User Location category features
[android] #5888 - setZMediaOverlay on overlain SurfaceView
2016-08-08 06:58:50 -04:00
Ivo van Dongen
ea958c3f46 [android] - fixed style api unit tests 2016-08-06 12:32:42 -04:00
Ivo van Dongen
b4c51dd792 [android] - Fix crash on dalvik due to missing finalizers 2016-08-06 12:32:25 -04:00
Ivo van Dongen
52cb6122f8 [android] #5858 - added convenience methods for color properties 2016-08-03 18:34:23 -04:00
Tobrun
701d7160c3 [android] #4845 - remove robotium, migrate to espresso 2016-08-03 16:48:36 -04:00
Tobrun
533a3edb9c [android] #5801 - add setMediaOverlay example for a secondary SurfaceView 2016-08-03 14:59:14 -04:00
Tobrun Van Nuland
9b871a9a0f [android] #5378 - NavDrawer rendering issues, added snackbar example 2016-08-03 14:53:23 -04:00
Tobrun
f26c89c0b6 [android] #5663 - make shape annotations updateable 2016-08-03 14:50:41 -04:00
Ivo van Dongen
10b2cc60a7 [android] #5610 - Runtime style api - part 2 2016-08-02 16:58:03 -04:00
Tobrun Van Nuland
ed821c06d9 [android] - add print example 2016-08-02 16:03:17 -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
Tobrun Van Nuland
39512aaef1 [android] #5679 - move logo and attribution to the top right
[android] #5679 - get correct top margin for logo when saving state of MapView
2016-07-24 09:45:40 +02:00
Tobrun
ea2ee649fa [android] #5738 - default navigation drawer example
[android] #5738 - migrated to MapFragment approach & AppCompat compatible

[android] #5378 - make drawer work with inner class fragments

[android] #5738 - navigation drawer proposition

[android] #5738 - cleanup
2016-07-24 09:39:08 +02:00
Brad Leege
8df881a781 [android] #5767 - Switching to Mapbox Outdoors 2016-07-22 14:08:31 -05:00
Antonio Zugaldia
5c037f4745 [android] Introduce a getDatabasePath() method that enables switching storage paths
Fixes #5589
2016-07-15 09:58:53 -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 Van Nuland
b9c273d197 [android] #5649 - add a ViewPager example
[android] #5649 - add back pressed event for action bar home icon
2016-07-13 16:43:01 +02:00
Tobrun
3dacbdd42e [android] #5438 - add bearing to MyLocationView for the SDK camera object
[android] #5438 - integrate MyLocationView set bearing inside the MapView setBearing

[android] #5438 - invalidate the MapView instead of calling update from core.

[android] #5438 - add bearing MyLocationView to setBearing focal point on MapView

[android] #5438 - Get correct bearing when camera object is rotated around the z-axis, notify MyLocationView when camera position changes, update test utilities.

[android] #5438 - fixes compass tracking
2016-07-13 14:52:15 +02:00
Tobrun Van Nuland
081c61dcc2 [android] #5652 - fix PressForMarkerActivity setup to follow best practices of loading a style and initial location of a MapView as early as possible. 2016-07-13 14:48:55 +02:00