Commit Graph

120 Commits

Author SHA1 Message Date
Leith Bade
991b1a28fb Fix crash when using MapView access token constructor
Fixes #2197
2015-09-02 09:58:47 +10:00
Brad Leege
9784d7dd19 #2063 - Merging 2015-08-31 16:41:52 -05:00
tobrunvannuland
dabfec6ddc Added proguard config for SDK
Updated build.gradle from the SDK to correct use proguard file from a AAR library

Adjusted build.gradle sample app to use the thumb proguard file

Added proguard config for SDK, added thumb config for sample project

Updated build.gradle from the SDK to correct use proguard file from a AAR library

Adjusted build.gradle sample app to use the thumb proguard file

Added proguard config for SDK, added thumb config for sample project

Updated build.gradle from the SDK to correct use proguard file from a AAR library

Adjusted build.gradle sample app to use the thumb proguard file
2015-08-31 10:30:08 +02:00
Justin R. Miller
bcfce808ca implement annotation marker tap recognition in Android 2015-08-28 15:29:04 -07:00
Brad Leege
1424ce72a5 #2182 - Replacing existing iOS style compass with more Android style compass artwork 2015-08-26 17:25:30 -07:00
Brad Leege
ddf1250ca8 #934 - Removing onLocationChanged() log statement 2015-08-21 16:14:59 -05:00
Brad Leege
11a1957770 #934 - Removing duplicate compass.png file and centralizing in common drawable 2015-08-21 16:14:07 -05:00
Brad Leege
e91c21c284 #934 - Consolidating CallbackHandler due to API minimum being above Gingerbread 2015-08-21 15:51:26 -05:00
Brad Leege
a07fe3aecd #934 - Setting SDK Minimum to API 15. Removing TargetApi Annotations. 2015-08-21 15:46:16 -05:00
Brad Leege
b6d6e4c663 #934 - Raising Min SDK to API 10 2015-08-20 11:12:14 -05:00
Leith Bade
6ad2006d3f Improve support for Andrioid M
Checks for and requests runtime location permissions (fixes #2110)
Improved the styling of the location FAB
Removed redudant drawables
Fixed various Java and Android warnings and deprecated functions
A few other tweaks
2015-08-18 19:15:42 +10:00
Leith Bade
ac86ce39ad Fixes preview of Android Acticity in the Studio XML editor 2015-08-18 17:21:08 +10:00
Leith Bade
ea609df0c4 Update to Android API 23 for Android M
Closes #2104
2015-08-18 16:17:24 +10:00
Leith Bade
8e51c550b2 Adds getAnnotations to Android
Also adds Collections.unmodifiableList to returned lists from public methods
Fixes #1998
2015-08-18 11:29:21 +10:00
Leith Bade
e1291fe094 Fix state saving on Android 2015-08-17 17:29:51 +10:00
Leith Bade
39e1e81b8c Move validateAccessToken to onCreate 2015-08-17 15:38:07 +10:00
Leith Bade
adab9a6b3f Merge branch 'android-remove-apache' 2015-08-17 15:02:21 +10:00
Leith Bade
134f926eba Replace Apache URL validation with OkHTTP
Also add some missing MapView constructors.
2015-08-17 13:55:25 +10:00
Erlend Fagerheim
63710ffdac removing annotations in mapview, not only in nativemapview 2015-08-16 11:48:46 +02:00
Leith Bade
2f31687844 Use uv::async in HTTPAndroidRequest to ensure the correct thread deletes request object
Fixes #2058
2015-08-14 13:55:42 +10:00
Erlend Fagerheim
4fdffa4e8a added click, longclick, scroll, fling events 2015-08-13 13:29:13 +02:00
Leith Bade
5abb18a99c Implement setGestureInProgress on Android 2015-08-13 13:36:41 +10:00
Brad Leege
72aaf3934a Merge branch 'master' into 1856-material-take-2
# Conflicts:
#	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
2015-08-12 18:22:17 -05:00
Brad Leege
f5a95e18d9 #1856 - Enabling and setting clickable state for features in Navigation Drawer menu 2015-08-12 11:13:33 -05:00
Leith Bade
d4159d5141 Merge branch 'android-okhttp' 2015-08-12 14:58:33 +10:00
Brad Leege
7563e11eee #1856 - Adjusting compas layout back to 10dp 2015-08-11 15:51:01 -05:00
Brad Leege
64b5e506c4 #1856 - Adding TrackingMode TODO for update display 2015-08-11 11:40:45 -05:00
Leith Bade
0cbe7e07f5 Use OkHTTP to implement HTTPContext on Android.
Closes #823
2015-08-11 11:59:08 +10:00
Leith Bade
7325000edb Check API level for totalMemory 2015-08-11 09:44:49 +10:00
Brad Leege
9cd4a7ccb7 #1856 - Removing FAB from SDK and replacing with intial tracking mode API. Making Compass visible under Toolbar. 2015-08-10 15:41:02 -05:00
Brad Leege
c8a399aa2f #2014 - Commenting out setElevation() 2015-08-07 16:33:17 -05:00
Erlend Fagerheim
da88c8fd83 added tracking modes 2015-08-06 12:55:15 +02:00
Brad Leege
b8a82d5755 #1940 -Adding Null Check due to DRY initialization 2015-08-05 18:21:34 -05:00
Brad Leege
af89714b39 Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-08-05 15:53:50 -05:00
Brad Leege
49445b76f2 Merge branch 'master' into 1940-user-location-in-sdk 2015-08-05 15:52:53 -05:00
Brad Leege
6e04804586 #1940 - Adding enable / disable Compass API 2015-08-05 11:34:59 -05:00
Brad Leege
3215831d26 #1940 - Initial migration of Compass from TestApp to SDK 2015-08-05 10:53:02 -05:00
Bruno de Oliveira Abinader
fa4636ffe4 Map::nudgeTransitions no longer depends on client information
Clients no longer need to provide data (eg. if gesturing or in a custom
animation) to Map::nudgeTransitions().

Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData
allows thread-safe communication between Map and MapContext.
2015-08-05 15:19:00 +03:00
Brad Leege
9303701d6e #1940 - Cleaning up setup process for OnMapChangedListeners. Removing debug log statements. 2015-08-04 19:21:22 -05:00
Brad Leege
6745b404de #1940 - Converting OnMapChangedListener to a Collection instead of just a single instance 2015-08-04 19:06:26 -05:00
Brad Leege
2fccc2bbd6 #1940 - DRYing out GPS Marker setup. Confirming that On / Off toggle and setup is done in correct order. 2015-08-04 18:47:25 -05:00
Brad Leege
d2d8802890 #1940 - Refactored to use stock FrameLayout and to display User Location marker 2015-08-04 15:53:08 -05:00
Brad Leege
c2112ea4be #1940 - Initial conversion from extending SurfaceView to extending ViewGroup and having GL display on map as expected 2015-08-04 13:31:21 -05:00
Leith Bade
ab7456075c First pass at tidying up Android annotation code 2015-08-04 13:52:08 +10:00
Brad Leege
c6a2e0b577 #1940 - Porting Location controls to SDK and setting up Google Map API equivalents 2015-07-31 11:55:57 -07:00
Brad Leege
c1d024d2a6 #1940 - Adding Mapzen LOST to GL SDK dependency list to server as Location provider 2015-07-31 10:17:23 -07:00
Justin R. Miller
b88fc75f74 compensate for Android screen ratio in conversion routines 2015-07-30 16:24:17 -07:00
Brad Leege
9b95b2ef9d #1965 - Updating dependency versions 2015-07-29 14:10:20 -07:00
Leith Bade
d57a02f3a9 First pass at updating JNI bindings
Hook up collisionDebug, isFullyLoaded, onLowMemory in Android
Rename class to styleClass in Java to match iOS
Fixed some formatting
Fixes #1905
Fixes #1946
Fixes #1263
2015-07-29 12:17:42 +10:00
Leith Bade
60a21de907 Update to Android support lib 22.2.1.
Remove duplicate multitouch classes.
2015-07-28 12:18:53 +10:00