Commit Graph

231 Commits

Author SHA1 Message Date
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
Ivo van Dongen
2033d756c2 [android] Dynamic update of InfowWindow with InfoWindowAdapter example
Fixes #5353
2016-06-16 15:27:38 -04:00
Tobrun
dd221596ba [android] #5342 - initial marker animation 2016-06-16 16:02:10 +02:00
Tobrun Van Nuland
7942ce9455 [android] #5279 - expose MarkerView alpha 2016-06-14 15:11:20 +02:00
Brad Leege
4f622a75db [android] #4959 - Dynamic Sizing Of Default InfoWindow Based On Availability Of Title And Snippet Data 2016-06-13 15:46:59 -05:00
Tobrun Van Nuland
b3467a555a [android] #4924 - Make Gesture Focal Point Configurable 2016-06-13 15:34:52 -05:00
Antonio Zugaldia
7c213e3cd0 [android] #4159 - expose an api to enable selection/deselection of markers on map tap (#5312) 2016-06-13 16:20:21 -04:00
Ivo van Dongen
5782c9a6ba [android] #5285 - bring selected MarkerView to the front
Fixes #5285
2016-06-09 10:41:56 +02:00
Brad Leege
61a5bea043 [android] #5237 - Enabled Updates To InfoWindow's Title and Snippet 2016-06-07 15:04:11 -05:00
Tobrun Van Nuland
cfca379651 [android] #5241 -float rotation on markerview 2016-06-06 13:58:04 +02:00
Tobrun
0a646b4487 [android] #5076 - fixed update marker for MarkerView, rewrite update marker jni, cleanup animation api 2016-06-06 11:13:40 +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
Cameron
0bfe951b55 [android] Fix style urls
Fixes #5193
2016-06-03 12:38:09 -04:00
Tobrun
087cad037f [android] #5214 - remove requirement adapter for MarkerView, allow using Icon instead 2016-06-03 08:00:56 +02:00
Tobrun
fe40127b12 [android] #4929 - fix unit tests MyLocationSettings 2016-06-02 17:21:20 -05:00
Tobrun Van Nuland
3d2cc05121 [android] #4929 - MyLocationView now requires less drawables to configure, reuses the foreground instead. 2016-06-02 17:21:20 -05:00
Tobrun Van Nuland
c7fb8890fe [android] #4727 - fix proguard test app 2016-06-02 09:39:14 -05:00
Tobrun Van Nuland
cd517b90fa [android] #5034 - calculate correct padding for left, top, right and bottom 2016-05-26 11:30:30 +02:00
Tobrun
034246e00a [android] #5034 - LatLngBounds Camera update not taking map padding in account
[android] #5034 - padding not being included in getVisibleBounds
2016-05-26 11:30:27 +02:00
Brad Leege
50b891561f [android] #5075 - Removing options.accessToken() usage in MapFragmentActivity and SupportMapFragmentActivity 2016-05-25 20:40:17 -05:00
Tobrun Van Nuland
6c93bb4006 [android] - add unit test for MarkerView 2016-05-25 15:14:54 +02:00
Tobrun Van Nuland
75dbbcdcc0 [android] #5079 - add anchor and InfoWindowAnchor to MarkerView 2016-05-25 14:07:45 +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