Commit Graph

5812 Commits

Author SHA1 Message Date
Konstantin Käfer
aa06a9d587 query the monitor's resolution instead of forcing 1024x768 2015-08-11 16:40:40 +03:00
Konstantin Käfer
5a79bd832d allow setting a location and print the location on exit 2015-08-11 16:40:40 +03:00
Konstantin Käfer
21ec505648 add benchmark mode that shows the real frame time rather than the vsync time 2015-08-11 16:40:40 +03:00
Leith Bade
0cbe7e07f5 Use OkHTTP to implement HTTPContext on Android.
Closes #823
2015-08-11 11:59:08 +10:00
Leith Bade
ca8ffcc456 Merge pull request #2031 from mapbox/android-api-check
Check API level for totalMemory
2015-08-11 10:10:46 +10:00
Leith Bade
7325000edb Check API level for totalMemory 2015-08-11 09:44:49 +10:00
Leith Bade
9534d6256b Fix ThreadContext to check for valid current pointer 2015-08-11 09:41:21 +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
Jason Wray
dc11b8132b Improve accuracy ring update checks 2015-08-10 17:36:23 -04:00
Jason Wray
26d300b4f4 Refactor user location annotation
Adds:
- Accuracy ring
- Heading indicator

Fixes:
- Pulse sync
- Visual appearance (removes slight aliasing)

Closes #1222 (squashed)
2015-08-10 17:36:22 -04: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
Konstantin Käfer
0a527f623e don't constantly repaint by setting needsRepaint to false
fix by @brunoabinader
2015-08-10 22:39:08 +03:00
Konstantin Käfer
76c937f119 set thread priority on Linux 2015-08-10 12:01:26 +03: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
c1a0c30e24 Merge pull request #2011 from mapbox/android-travis-abi
Build correct Android ABIs on Travis
2015-08-07 11:11:41 +10:00
Leith Bade
2d2966b796 Build correct Android ABIs on Travis 2015-08-07 10:43:00 +10: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
Minh Nguyễn
bea457697a Ignore tile URL sharding
The source returns sharded tile URLs, but sharding doesn’t buy us anything on native platforms, so always grab the first.

ref mapbox/mapbox-gl-native#2007
2015-08-06 10:37:46 -07: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
c84a6fbec9 #1940 -Adding menu item controls for compass on / off. Removing location_marker assets from App as they're now only in the SDK. 2015-08-05 12:25:15 -05:00
Brad Leege
6e04804586 #1940 - Adding enable / disable Compass API 2015-08-05 11:34:59 -05:00
Minh Nguyễn
5eebda7199 Updated Mason submodule pin
Pulled in mason/mason@41d8b2eb28 for mapbox/mason#106 and mason/mason@d8597d9445 for mapbox/mason#110.

Fixes #1957 and fixes #1707.
2015-08-05 09:27:30 -07:00
Mike Morris
0097710d0a Merge pull request #143 from mapbox/internal-filesource
accept FileSource options object
2015-08-05 12:00:43 -04: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
Bruno de Oliveira Abinader
9fd7e883a7 Coalesce view invalidation calls
Do not call for view invalidation until painter has rendered a new
frame.
2015-08-05 15:19:00 +03:00
Bruno de Oliveira Abinader
492bcf0bd7 Added Update::Repaint 2015-08-05 15:19:00 +03:00
Bruno de Oliveira Abinader
58357b7964 Removed Transform::needsTransition()
Transform::updateTransitions() already checks if there is a callback to
update transitions.
2015-08-05 15:19:00 +03:00
Bruno de Oliveira Abinader
0eb7effad7 Make MapContext use StillImageCallback definition from Map 2015-08-05 15:19:00 +03:00
Thiago Marcos P. Santos
92d78eae38 Removed debug leftover 2015-08-05 14:56:48 +03:00
Thiago Marcos P. Santos
27e24578f9 Bring run-linux targets back 2015-08-05 14:55:57 +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
Mike Morris
d3104756af make 'cancel' function in FileSource optional
update README
2015-08-04 15:37:49 -04:00