Commit Graph

5812 Commits

Author SHA1 Message Date
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
Bruno de Oliveira Abinader
590d9ab95c Created HTTPRequestBase as base for HTTP requests
- Added HTTPRequestBase (inherits from RequestBase)
- retry() is now a pure virtual in HTTPRequestBase
- Moved cancelled bool to HTTPRequestBase
- HTTPContext now handles only HTTPRequestBase*
- Renamed HTTPNSURLRequest, HTTPCURLRequest
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
785b34df2e Moved ResponseStatus to its own header 2015-07-28 19:27:13 +03:00
Jason Wray
c1cd961093 Include app-info.plist in demo app project
[skip ci]
2015-07-28 10:18:30 -04:00
Leith Bade
60a21de907 Update to Android support lib 22.2.1.
Remove duplicate multitouch classes.
2015-07-28 12:18:53 +10:00
Minh Nguyễn
0178c94f6d Exempt Metrics staging server from PFS requirement
This server should not used in actual production code anyways.

Fixes #1937.
2015-07-27 15:52:17 -07:00
Minh Nguyễn
3a310c916b Update the user dot when the user moves
Rolled back part of ed04e6d9f7 for #1852.

Fixes #1933.
2015-07-27 14:23:59 -07:00
Bruno de Oliveira Abinader
5e2f3b1323 Avoid nudging transitions if a gesture is in progress #2
Following the same steps from #1548 and #1912 for GLFW and iOS ports.
Also removed a redundant check if transform state is changing since
we're already dealing with that.
2015-07-27 21:57:51 +03:00
jakepruitt
44182a30cf Add curly-braces to if-statements 2015-07-27 10:16:14 -04:00
jakepruitt
14ba3cfd6a Adding special case for non-fontstack "glyph" resource URLs
- does not prepend /v4/ to api endpoints like /fonts/v1/
- only prepends it to things starting with /fontstack
- solves the problem in #1918
- refs mapbox/mapbox-gl-style-spec#309
2015-07-27 10:16:14 -04:00
Minh Nguyễn
32c7805740 Ignore invalid location updates
Avoid passing invalid locations along to the map view delegate or user location annotation.

Also, If the user wants to visit the Prime Meridian or Equator, that’s their prerogative. Mapbox GL should show them where they’re at. Null Island is a different story.

Fixes #1912.
2015-07-24 15:53:10 -07:00
Brad Leege
c16b0bfb34 #1929 - Adding token.txt reading for programmatic setting of access token in activity 2015-07-24 17:27:47 -05:00
Brad Leege
955b610fc8 #1929 - Wiring up MapView to Activity's lifecycle methods 2015-07-24 16:37:29 -05:00