Commit Graph

4719 Commits

Author SHA1 Message Date
Justin R. Miller
c472717b60 Merge pull request #2040 from mapbox/annotation-title-check
fixes #1951: check for support of title before querying
2015-08-11 15:21:39 -07:00
Justin R. Miller
01b5636df0 fixes #1951: check for support of title before querying 2015-08-11 15:10:55 -07:00
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
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
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
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
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
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
Justin R. Miller
02527ff3f9 Merge pull request #1976 from mapbox/region-delegate-dox
Document iOS region change delegate methods
2015-08-03 17:28:33 -07:00
Brad Leege
5348db24cc #1982 - Updating wrapper .jar and .properties 2015-08-03 17:10:10 -05:00