Commit Graph

11774 Commits

Author SHA1 Message Date
Tobrun
3a1db905fc [android] - validate if width and height aren't 0 when creating options class 2018-03-26 11:38:48 -04:00
Tobrun
804738fe14 [android] - use float for pixelratio when creating a snapshotter 2018-03-26 11:38:48 -04:00
Tobrun
69dfd1ed3e [android] - delete local ref pixel buffer when converting Image.java to core 2018-03-26 11:38:48 -04:00
Tobrun
58e4d395bf [android] - don't load default style if style json string was set (#11519) 2018-03-26 09:40:38 -04:00
Tobrun
690c7e5855 [android] - verify optional before accessing it 2018-03-19 13:11:03 +01:00
Jason Wray
4544b7aae9 [ios] Bump podspecs for ios-v3.7.6 2018-03-12 20:02:32 -04:00
Jason Wray
40e5af700b [ios] Prepare changelog for ios-v3.7.6 2018-03-12 20:02:32 -04:00
Jason Wray
1b3d8f990f [ios, build] Move iOS release builds to CircleCI 2018-03-12 17:56:06 -04:00
Jason Wray
ec91b83ea4 [build] Update to Xcode 9.2 on CircleCI (#10893)
When CircleCI says 9.2.0, they mean it...
2018-03-12 14:08:29 -04:00
Jason Wray
e690e7cf1e [ios] Add camera limit debug option to iosapp
Adapted from cdff47276d/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
2018-03-08 17:13:44 -05:00
Jason Wray
c815c1e2d6 [ios] Fix pinch drift ignoring delegate camera change response 2018-03-08 17:13:44 -05:00
Asheem Mamoowala
7df451def6 [core] TileJSON conversion clamps bounds longitude to [-180,180], per spec 2018-03-08 13:49:56 -08:00
Asheem Mamoowala
c54035afb1 [core] Support a range of zooms in TileRange. Accounts for TilePyramid requesting parent tiles of ideal zoom tiles. 2018-03-08 13:49:56 -08:00
Tobrun
40039f6b43 [android] - reset release configuration 2018-03-01 11:46:04 +01:00
Tobrun
72393707d3 [android] - fix custom layer example 2018-03-01 11:46:04 +01:00
Tobrun
6e48460445 [android] - release android v5.5.0 2018-03-01 11:46:04 +01:00
Tobrun
a8b8c5defa [android] - update changelog for v5.5.0 2018-03-01 11:46:04 +01:00
Osana Babayan
90cce8d9ce [android] incorrect latlngBounds in the VisibleRegion with map is rotated
smallest bounding box for 4 points cannot (#11226)
be created using LatLngBounds.fromLatLngs()
as the order matters in that method and that does not work for rotated map
2018-03-01 11:46:04 +01:00
Ivo van Dongen
4b32228cc2 [android] custom layer example - remove dependencies on mbgl logging and string headers 2018-03-01 11:46:04 +01:00
Ivo van Dongen
7fc676ed41 [android] custom layer example - add error checking to debug issues more easily 2018-03-01 11:46:04 +01:00
Ivo van Dongen
c84670e683 [android] custom layer example - fix fragment shader source for opengl es 2 phones 2018-03-01 11:46:04 +01:00
Ivo van Dongen
eec0db49e4 [core] blacklist vao usage on mali t720 (sapphire 650)
Avoids problems on (amongst others) Samsung Galaxy J3
2018-03-01 11:46:04 +01:00
Ivo van Dongen
b00e92fa94 [core] check opengl error state after custom layer invocations 2018-03-01 11:46:04 +01:00
Tobrun
54c3fcdec8 [android] - check if hosting Activity isn't finishing before showing an dialog 2018-03-01 11:46:04 +01:00
Łukasz Paczos
0fe1219bfd [android] expose ImageSource coordinates setter (#11262) 2018-03-01 11:46:04 +01:00
osana
7623ed99bc [android] jni clean up - missing a couple DeleteLocalRef 2018-03-01 11:46:04 +01:00
Cameron Mace
20c79d9e71 upgraded telem version (#11338)
* upgraded telem version

* use telem method instead of Okhttp

* use telem util in test
2018-02-28 14:38:26 -05:00
Jason Wray
b74930c5fc [ios] Improved heading indicator arrow visibility 2018-02-27 15:46:28 -05:00
Fabian Guerra Soto
6d2cbb0a40 [ios, macos] Fix a memory leak when creating an EAGLContext in MGLMapSnapshotter. (#11193) 2018-02-27 12:04:20 -05:00
Konstantin Käfer
aacd55c64b [core] continue loading style even if we mutate it
When we load a stale style from cache, and the user immediately starts mutating it, we should continue loading the style so that we'll get a fresh copy of the data into our cache and avoid perpetually showing the stale style.
2018-02-27 17:22:54 +01:00
Chris Loer
ca17625f1c [core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.
Alternative fix to #11288, until we figure out a proper async_hooks implementation.
2018-02-27 17:22:54 +01:00
Tobrun
c6537adbd1 [android] - don't disable zoom button controller zooming whem zooming gestures are disabled 2018-02-21 08:34:09 +01:00
Tobrun
e5810536bc [android] - decouple map padding from overlain views 2018-02-20 17:04:55 +01:00
Jason Wray
9a30e252b5 [ios] Bump podspecs for 3.7.5 2018-02-16 20:06:32 -05:00
Jason Wray
9989e71e3f [ios] Fix loop when first asking for location permission (#11229) 2018-02-16 20:01:03 -05:00
Fabian Guerra Soto
3a0c87b1b4 [ios] Bump podspec to 3.7.4 (#11179)
* [ios] Bump podspec to 3.7.4

* [ios, macos] Update changelogs.
2018-02-12 17:37:00 -05:00
Fabian Guerra Soto
024e75bd56 [ios, macos] Fix memory leaks in MGLMapSnapshotter. (#11133) 2018-02-12 16:47:16 -05:00
Julian Rex
9ee99c91bb [ios] Adds camera change delegate methods with reason parameter. (#11151)
Added missing notification handler for UIApplicationWillResignActiveNotification.
2018-02-12 16:37:21 -05:00
Asheem Mamoowala
560afaf1fb Cherry pick #11176 for Agua patch 2018-02-12 13:29:22 -08:00
Tobrun
cdaf90d2e7 [android] - update SNAPSHOT version to v5.4.2 2018-02-12 11:14:39 +01:00
Tobrun
f422f79446 [android] - update changelog for 5.4.1 2018-02-12 11:14:39 +01:00
Tobrun
9941b56238 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-12 11:14:39 +01:00
tobrun
cab2086e1c [android] - don't recreate surface as part of view resize 2018-02-09 14:22:29 +01:00
tobrun
5a799117ec [android] - add optional location provider lost to proguard configuration 2018-02-09 11:58:41 +01:00
Minh Nguyễn
101b55b0f0 [ios, macos] Added option to restrict tile source to bounds
Cherry-picked from c3bf7c55a1.
2018-02-08 12:39:30 -08:00
Asheem Mamoowala
4ab07f5be7 Reset tileset-based render sources when any tileset properties changed. (#11042) 2018-02-08 12:39:30 -08:00
Asheem Mamoowala
64374711a0 Support TileJSON bounds property (#10701)
* [core] Parse TileJSON bounds property
* [core] Add TileRange and LatLngBounds::contains(CanonicalTileID)
Move LatLngBounds::contains impl to cpp file
* [core] Skip tile creation outside of tileset bounds
* [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
2018-02-08 12:39:30 -08:00
tobrun
aeba621573 [android] - programmatically create GlSurfaceView 2018-02-08 14:20:56 +01:00
tobrun
7bccc9d695 [android] - introduce mapview weak reference in global layout listener 2018-02-08 11:43:05 +01:00
Chris Loer
057af7e75f [core] Don't crash on line labels with 0 glyphs.
Fixes issue #10956.
2018-02-07 12:11:19 -08:00