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
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
Brad Leege
cb54626bc2
#1982 - Updating to 2.5
2015-08-03 17:05:46 -05:00
Jason Wray
aa202f7e08
Add more mapView!
2015-07-31 16:18:43 -04:00
Jason Wray
57f0d6535c
Document iOS region change delegate methods
...
With #1026 the region delegate methods work reliably and as expected. This commit adds `mapView:regionWillChangeAnimated:`, `mapViewRegionIsChanging:`, and `mapView:regionDidChangeAnimated:` to the official documentation.
2015-07-31 15:59:57 -04:00
Brad Leege
bcb8d4cde5
#1940 - Refactoring TestApp to use UserLocation API in GL SDK
2015-07-31 12:14:20 -07:00
Brad Leege
c6a2e0b577
#1940 - Porting Location controls to SDK and setting up Google Map API equivalents
2015-07-31 11:55:57 -07:00
Brad Leege
c1d024d2a6
#1940 - Adding Mapzen LOST to GL SDK dependency list to server as Location provider
2015-07-31 10:17:23 -07:00
Leith Bade
8e5bbb062c
Merge pull request #1974 from mapbox/android-fix-gps-conversion
...
Fix GPS marker as conversion functions now compensate for screen density
2015-07-31 11:44:09 +10:00
Leith Bade
30d3642943
Fix GPS marker as conversion functions now compensate for screen density
2015-07-31 11:24:59 +10:00
Justin R. Miller
704f8c2bca
Merge pull request #1973 from mapbox/add-android-marker-test
...
add Android long-press marker test
2015-07-30 17:37:31 -07:00
Justin R. Miller
9b8e782e6c
add Android long-press marker test
2015-07-30 17:20:43 -07:00
Justin R. Miller
5b2bd8728b
Merge pull request #1971 from mapbox/fix-screen-conversion
...
compensate for Android screen ratio in conversion routines
2015-07-30 16:37:26 -07:00
Justin R. Miller
b88fc75f74
compensate for Android screen ratio in conversion routines
2015-07-30 16:24:17 -07:00
Justin R. Miller
88d7a92655
[publish ios-v0.5.4]
2015-07-30 09:49:09 -07:00
Justin R. Miller
df0fca3642
bump podspec for 0.5.4
2015-07-30 09:48:51 -07:00
Brad Leege
9b95b2ef9d
#1965 - Updating dependency versions
2015-07-29 14:10:20 -07:00
Bruno de Oliveira Abinader
58b93553c1
Replace size() with empty() whenever possible
...
Before C++11, std::list's implementation of size was O(n). It should be
all O(1) now, but it is probably still a good idea to use empty() to
emphasize the intend.
2015-07-29 11:03:47 +03:00
Minh Nguyễn
807d87f0f5
Ignore redundant initial reachability notification on iOS 9
...
Fixes #1911 .
2015-07-28 21:21:31 -07:00
Leith Bade
d57a02f3a9
First pass at updating JNI bindings
...
Hook up collisionDebug, isFullyLoaded, onLowMemory in Android
Rename class to styleClass in Java to match iOS
Fixed some formatting
Fixes #1905
Fixes #1946
Fixes #1263
2015-07-29 12:17:42 +10:00
Justin R. Miller
3f2f9d26c8
Merge pull request #1926 from trappsnl/master
...
fix latLngForPixel on Android
2015-07-28 17:55:05 -07:00
Bruno de Oliveira Abinader
3c43171bc0
s/AssetContext/AssetContextBase/
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
0cc69b368d
s/HTTPContext/HTTPContextBase/
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
e42a903bba
Replaced 'override' with 'final' for non-public interfaces
2015-07-28 19:27:13 +03:00