Commit Graph

4726 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Konstantin Käfer
56a4268cca manually premultiply the image if libpng can't do it 2015-08-04 18:49:51 +02:00
Konstantin Käfer
3b4a0b228c output the build artifacts to the right directory
this was introduced by using a file in /gyp as the root entry point for gyp builds, rather than a gyp file in /android.
2015-08-04 18:09:02 +02:00
Konstantin Käfer
e6053aa547 Make build system architecture agnostic to remove Android special case 2015-08-04 14:08:58 +02:00
Konstantin Käfer
b44fe1c7af use OpenGL and Boost for the linux app 2015-08-04 14:08:20 +02:00
Konstantin Käfer
da4c62087d include $CFLAGS into build 2015-08-04 14:08:20 +02:00
Konstantin Käfer
19e5d9af22 don't require PNG_ALPHA_PREMULTIPLIED to support older versions of libpng 2015-08-04 14:08:20 +02:00