Commit Graph

5798 Commits

Author SHA1 Message Date
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
Mike Morris
84a1e6d1c3 remove request coalescing tests 2015-08-04 15:06:36 -04:00
Mike Morris
99ba07deb3 accept options object argument to new mbgl.Map()
instead of requiring inheritence, drops mbgl.FileSource

pass NodeFileSource* around as v8::External
2015-08-04 15:06:25 -04: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
Konstantin Käfer
daaa643bbf support cURL versions older than 7.21.6
prior to cURL 7.21.6, CURLOPT_ACCEPT_ENCODING was called CURLOPT_ENCODING
2015-08-04 14:08:20 +02:00
Konstantin Käfer
ac0b634bac respect fullscreen flag in Linux app 2015-08-04 14:08:20 +02:00
Konstantin Käfer
66f0473bcf add MBGL_USE_GLES2 define 2015-08-04 14:08:20 +02:00
Konstantin Käfer
78ec33320f don't use certain STL functions
some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android
2015-08-04 14:08:19 +02:00
Leith Bade
ab7456075c First pass at tidying up Android annotation code 2015-08-04 13:52:08 +10:00