Commit Graph

178 Commits

Author SHA1 Message Date
Konstantin Käfer
47ede853c4 fixes black flicker on rotating the device
fixes #838

instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible.

- upgrades GLFW to 3.1
- removes swapped/needsSwap in favor of a more explicit scheme
- View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update
- sets all iOS deployment targets to 7.0
- disables SQLite3 version check, since the library version changed on iOS 8.2
2015-03-12 12:16:38 +01:00
Konstantin Käfer
fb44fc81bd make Map::resize() private
they can only be called by View::resize
2015-03-06 13:52:25 +01:00
Brad Leege
e1ff75a47a #923 - Consolidating package namespaces 2015-02-26 16:01:51 -06:00
Leith Bade
aa32b41b59 Fix all lint errors 2015-02-26 11:32:35 -08:00
Leith Bade
a5430e8730 Replace setRotation with Matrix 2015-02-26 11:16:14 -08:00
Leith Bade
d0109fb834 Ignore lint error from OkHTTP
Fixes #921
2015-02-26 10:25:36 -08:00
Leith Bade
195fad1b67 Replace constant 2015-02-25 15:51:23 -08:00
Leith Bade
ecd7267fdf Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-conversions 2015-02-25 15:30:17 -08:00
Brad Leege
380fd1fbf4 #823 - Adding JavaDoc for cancel() 2015-02-25 17:17:56 -06:00
Brad Leege
a4b6067d4f #823 - Building cancel method. Refactoring request to not return OkHttp Request object to help keep FileSource self contained. 2015-02-25 17:01:13 -06:00
Brad Leege
2bfafaddb1 #823 - Building request method 2015-02-25 16:48:54 -06:00
Brad Leege
885185b352 #823 - Adding OkHttp dependency. Initial setup of JavaFileSource as a singleton class. 2015-02-25 16:25:03 -06:00
Brad Leege
78f37879a3 Use Build constants instead of integers 2015-02-25 16:08:32 -06:00
Brad Leege
77cf66d91f #895 - Fixing missing JavaDoc warnings. 2015-02-25 13:21:23 -06:00
Leith Bade
74e953cc48 Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-conversions
Conflicts:
	android/java/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxgl/testapp/MainActivity.java
2015-02-24 17:16:52 -08:00
Leith Bade
cd7dceeaaa Work on javadoc warnings 2015-02-24 16:30:03 -08:00
Brad Leege
025c7c3be5 #911 - Persist GPS State in UI across device rotation 2015-02-24 15:49:39 -06:00
Brad Leege
6cfc00e1ae #913 - Updating to latest Android Gradle Build Tools 2015-02-24 14:18:45 -06:00
Leith Bade
8cffa9d078 Save GPS on/off state 2015-02-23 12:05:18 -08:00
Leith Bade
fd45302b80 Add compass support 2015-02-19 15:55:07 -08:00
Leith Bade
f84c0381c7 Fix GPS marker positioning. Disable map centre locking to GPS 2015-02-19 14:28:50 -08:00
Leith Bade
1e11028985 Fix min SDK version 2015-02-19 14:28:50 -08:00
Leith Bade
bbd19e04fb Fix LOST loading 2015-02-19 14:28:50 -08:00
Leith Bade
0bb1ef8c15 Add GPS marker on map 2015-02-19 14:28:49 -08:00
Leith Bade
921309730b Rename packages. Add GPS arrow. 2015-02-19 14:28:49 -08:00
Leith Bade
5c79baedf9 Add projection functions to Java 2015-02-19 14:28:49 -08:00
Leith Bade
4daa02987b Tidy up JNI LatLng refs 2015-02-19 14:28:49 -08:00
Konstantin Käfer
ef57f6b522 wrong parameter order 2015-02-17 11:42:55 -08:00
Konstantin Käfer
b29bce0936 add ca bundle loading back to CURL 2015-02-17 11:42:47 -08:00
Brad Leege
5ce759a7c8 Merge branch 'master' of github.com:mapbox/mapbox-gl-native into geoAPI 2015-02-12 18:51:23 -08:00
Brad Leege
d5109659b1 #868 - Updating getLatLon() calls in MapView and NativeMapView. Updating Java to C++ bindings to support refactored names. 2015-02-12 18:45:30 -08:00
Brad Leege
6831f8a4cd #868 - Updating LatLngZoom to match LatLng 2015-02-12 16:43:45 -08:00
Brad Leege
693fa48b42 #868 - Adding BoundingBox, CoordinateRegion, and CoordinateSpan 2015-02-12 16:32:39 -08:00
Brad Leege
476ca373fe #868 - Bringing over ILatLng and refactoring LonLat to match LatLng 2015-02-12 16:28:22 -08:00
Leith Bade
b1c2c91895 Merge pull request #861 from mapbox/android-2-3
Add support for Android API level 8
2015-02-11 17:30:34 -08:00
Brad Leege
edbf31a813 #826 - Commenting out cleanJNIBuilds() as it was being included as a dependency 2015-02-11 16:59:53 -08:00
Leith Bade
7dff7ac3f2 Add support for Android API level 8 2015-02-11 16:01:19 -08:00
Brad Leege
ba058b3aff #826 - Adding make command to build GL core, assemble .aar, and publish to Maven Central 2015-02-11 13:44:07 -08:00
Leith Bade
276a88c6a9 Fix checkstyle errors 2015-02-10 19:30:19 -08:00
Leith Bade
3b3c377b92 Fix travis after android gradle refactor 2015-02-10 19:12:17 -08:00
Brad Leege
7b4111ef39 #826 - Adding Gradle task cleanJNIBuilds() to clean up previous Mason builds 2015-02-10 16:34:25 -08:00
Brad Leege
4f42183ad0 #826 - Using Gradle flavored environment variable access method 2015-02-10 16:26:00 -08:00
Brad Leege
de5be734f1 #826 - Adding deploy.sh script 2015-02-10 15:33:55 -08:00
Brad Leege
8d399895bc #826 - Adjusting rawDir path for token so that it gets created in correct location 2015-02-10 15:13:32 -08:00
Brad Leege
83942df08b #826 - Checkstyle issues 2015-02-10 14:50:18 -08:00
Brad Leege
dd87c34eac #826 - Fixing rawDir creation functionality 2015-02-10 14:45:15 -08:00
Brad Leege
de49ab51d3 #826 - Fixing checkstyle exclusions 2015-02-10 14:32:16 -08:00
Brad Leege
c84cac9bdc #826 - Updating .gitignore to keep token.txt out of git 2015-02-10 12:42:14 -08:00
Brad Leege
d98c88a531 #826 - Reordering modules 2015-02-10 12:42:14 -08:00
Brad Leege
8282d98000 #826 - Renaming lib module to MapboxGLAndroidSDK 2015-02-10 12:42:14 -08:00