Commit Graph

440 Commits

Author SHA1 Message Date
Mike Morris
4540c3c0e8 View::swap -> View::beforeRender View::afterRender
To be able to resize the framebuffer on the map thread
in HeadlessView.
2015-08-25 14:39:49 -04:00
Leith Bade
6966addb8d Use v8 styles on Android.
Closes #2165
2015-08-25 11:48:49 +10: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
4dd16a7e7f Add missing Andorid support design library dependency
Fix various warning
2015-08-19 13:03:20 +10: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
Leith Bade
5abb18a99c Implement setGestureInProgress on Android 2015-08-13 13:36:41 +10:00
Brad Leege
50ea965b93 #1856 - Readding the removal of Shadow for Lollipop using borderWidth and elevation 2015-08-12 18:29:17 -05: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
05a7e29d2f #1856 - Getting menu item checked based on style selection 2015-08-12 17:21:50 -05:00
Brad Leege
9b975c267a #1856 - Adding My Location icons for FAB 2015-08-12 11:52:28 -05:00
Brad Leege
1c74bc23c3 #1856 - Setting more detailed zoom level for location toggle on centering 2015-08-12 11:17:44 -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
Brad Leege
91cf989d8c #1856 - Move Map display to user location when location is enabled 2015-08-12 10:33:35 -05:00
Leith Bade
d4159d5141 Merge branch 'android-okhttp' 2015-08-12 14:58:33 +10:00
Brad Leege
c1d796bbc1 #1856 - Added CoordinatorLayout back in to support Snackbar widget 2015-08-11 16:16:13 -05:00
Brad Leege
7563e11eee #1856 - Adjusting compas layout back to 10dp 2015-08-11 15:51:01 -05:00
Brad Leege
5b787455dd #1856 - Using fixed Toolbar with no content scrolling underneath 2015-08-11 15:26:24 -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
b4eb1662c5 #1856 - Removing GPS Toggle from Navigation Drawer 2015-08-10 17:36:05 -05:00
Brad Leege
bfb44846c0 #1856 - Adding Location FAB to TestApp with color toggle to show state 2015-08-10 17:32:26 -05: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
Brad Leege
30a0617e37 #1856 - Cleaning up annotations selection option and centering map on annotation display area 2015-08-07 15:56:24 -05:00
Brad Leege
731608aa24 #1856 - Removing old toolbar and spinner setup code 2015-08-07 15:44:16 -05:00
Brad Leege
23d88928be #1856 - Setting map style programmatically and setting corresponding menu item checked 2015-08-07 15:41:49 -05:00
Brad Leege
bfd039853c #1856 - Adding Styles to Navigation View with separator 2015-08-07 15:37:26 -05:00
Brad Leege
a8462aa5f7 #1856 - Moving ActionBar actions to Navigation Drawer 2015-08-07 14:50:18 -05:00
Brad Leege
440ae9df9d #1856 - Setting up Navigation Drawer 2015-08-07 14:31:01 -05:00
Brad Leege
d3ba9e23ea #1856 - Setting default style to Mapbox Streets 2015-08-07 14:01:25 -05:00
Brad Leege
47b7f3bbae #1856 - Adding ic_menu.png files 2015-08-07 13:50:05 -05:00
Brad Leege
34d1c023de #1856 - Initial conversion to Material Design components 2015-08-07 13:45:56 -05:00
Brad Leege
2f4b627f17 Merge branch 'android-tracking-modes' of git://github.com/erf/mapbox-gl-native into erf-android-tracking-modes 2015-08-07 10:59:56 -05:00
Leith Bade
e2fd96b98a Applying suggestion from Android studio to use Gradle URL with source code to enable in IDE documentation for Gradle files 2015-08-07 10:14:39 +10: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