Commit Graph

254 Commits

Author SHA1 Message Date
Antonio Zugaldia
2b42f0e22f [android] #6148 - update MAS dependency to v1.3.0 2016-08-25 09:01:53 -04: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
Tobrun
a40953dd71 [android] - Remove StyleInitializer class, obsolete with introduction MapboxAccountManager 2016-07-05 13:34:22 +02:00
Cameron
a440598e2b [android] updated the testapp icon 2016-06-30 15:03:21 -05:00
Tobrun Van Nuland
64da7fa684 [android] Addresses marker view flat bug
Fixes #5427
2016-06-24 09:14:58 -04:00
Tobrun Van Nuland
b37de9f8f4 [android] - Fix locational runtime permissions
Fixes #5450
2016-06-24 08:56:11 -04:00
Antonio Zugaldia
b1aecc2faf [android] Rename Custom Dynamic InfoWindow Adapter in testapp
Fixes #5398
2016-06-20 13:43:21 -04:00
Antonio Zugaldia
7fb5c097bf [android] Add scaling marker activity to TestApp using the View Marker API
Fixes #5409
2016-06-20 13:17:08 -04:00
Antonio Zugaldia
b2ce41375c [android] Remove unnecessary menu from Animated Marker activity
Fixes #5396
2016-06-17 15:39:49 -04:00
Brad Leege
2591147e25 [android] Setting up LocationPickerActivity infrastructure
Fixes #5282
2016-06-17 19:54:27 +02:00
Tobrun
ebbe90983f [android] #5299 - add rotation to cars, add cars images 2016-06-17 17:00:57 +02:00
Tobrun
8c83af7b97 [android] #5299 - remove MarkerView x,y animation 2016-06-17 16:06:37 +02:00
Ivo van Dongen
8e9b158e73 [android] #5299 - Added more cars to the animation example to see what impact it has 2016-06-17 16:06:37 +02:00
Ivo van Dongen
fa0e3df981 [android] #5299 - Simplify animation code a bit. Make duration dependent on distance. Use non-linear interpolator. 2016-06-17 16:06:37 +02:00
Antonio Zugaldia
27da49c5fb first approach to a marker continuosly chasing another 2016-06-17 16:06:37 +02:00