Commit Graph

13039 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
5ce64b786c [ios, macos] Introduce MGLShapeSourceOptionLineDistanceMetrics
Exposes access to
https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics
2018-08-21 13:49:35 +03:00
Łukasz Paczos
7e6331b29f [android] - updated GeoJsonSource tests 2018-08-21 11:56:08 +02:00
Łukasz Paczos
2c093e7f0b [android] - converting GeoJsonSource Java features to core ones on a worker thread 2018-08-21 11:56:08 +02:00
Kiyong Jung
5297f563a4 [android] Make AndroidRendererFrontend to request render once per event loop (#12586)
When AndroidRendererFrontend::update() called multiple times in a single loop, updateAsyncTask->send() will perform nothing, thus MapRenderer::update()/requestRender() will be coalesced.
2018-08-21 11:53:05 +02:00
Jordan Kiley
7fc872b797 Add enabled property to MGLShape (#12352)
* [ios, macos] Add -[MGLMapViewDelegate mapView:canSelectAnnotation:] method.

* [ios, macos] Update changelogs.

* [ios, macos] Add mapView:canSelect: integration tests.

* [ios, macos] Change semantics to shape annotations.

* [ios, macos] Update changelogs.

* [ios, macos] Update shapeAnnotationIsEnabled documentation, improve code readability.
2018-08-20 16:30:03 -07:00
Nadia Barbosa
50059659d1 Warn if MGLShapeSource is initialized with MGLShapeCollection
Move warning from ShapeCollection to ShapeSource

Try checking MGLComputedShapeSources

Include MGLShapeCollection header

Add changelog entry
2018-08-20 15:45:03 -07:00
Ivo van Dongen
fcb68041d5 [offline] Add option to pass geojson input file 2018-08-20 22:49:01 +03:00
Ivo van Dongen
ca0f2f925d [darwin] arbitrary offline region geometries 2018-08-20 22:49:01 +03:00
Ivo van Dongen
4fedcf8d06 [android] arbitrary offline region geometries 2018-08-20 22:49:01 +03:00
Ivo van Dongen
fae099933b [core] offline region definition - add support for arbitrary geometries 2018-08-20 22:49:01 +03:00
Konstantin Käfer
cf0313f219 [core] fix static library build 2018-08-20 21:25:10 +02:00
Bryan Haber
31bdb74f48 [build] fixed typo in list of configuration types; RelWithDebugInfo should be RelWithDebInfo
- added missing linker flags for Sanitize configuration type
- changed mason's download to use cmake's built-in support instead of directly calling curl
2018-08-20 21:24:12 +02:00
Chris Loer
b0fcca5879 [core, node] Re-implement "avoid edges" behavior for MapMode::Tile
- Fixes issue #12461.
 - Only implement "avoid edges" in MapMode::Tile since it's no longer relevant in Static or Continuous mode.
 - New: Force "avoid edges" to "true" for line labels, since in tile mode they'll always clip poorly at tile boundaries.
 - Remove unused "withinPlus0/inside" logic.
2018-08-20 10:50:05 -07:00
Konstantin Käfer
bded6c65d5 [build] use plain text files for file lists to simplify integration with other build systems 2018-08-20 19:11:31 +02:00
Konstantin Käfer
1b4398f7aa [core] downgrade event severity for erroneous DDS rendering to Warning 2018-08-20 18:05:33 +02:00
Konstantin Käfer
036a75037a [build] also generate debugging symbols for Release builds in Xcode 2018-08-20 17:50:46 +02:00
Łukasz Paczos
ff077e9ea9 [android] obtain paths to file directories on a worker thread 2018-08-20 16:39:51 +02:00
Konstantin Käfer
112bbc7ab2 [core] make style/conversion.hpp implementation private 2018-08-19 13:09:16 +02:00
Konstantin Käfer
9df9f5fe20 [build] simplify Android build 2018-08-19 13:09:16 +02:00
John Firebaugh
8ca419fb2e [core] Evict unused font stacks from GlyphManager 2018-08-17 09:38:39 -07:00
Jason Wray
790b9f5c82 [ios] Add experimental frame rate measurements to MGLMapView
Includes: average frame rate, average frame render duration, and instantaneous frame render duration.
2018-08-16 16:46:54 -04:00
John Firebaugh
19325b0293 [build] More diagnostics for npm install failures 2018-08-16 11:08:48 -07:00
Tobrun
369e6880db [android] - update changelog with fixed security vulnerability 2018-08-16 10:44:56 +02:00
Łukasz Paczos
fbc39fa42a [android] changelog for v6.4.0
(cherry picked from commit 5aee8d9)
2018-08-16 10:44:56 +02:00
Julian Rex
1847ef0fa9 [ios, macos] Update podspecs for 4.3.0 and 0.10.0 releases. (#12651) 2018-08-15 18:02:08 -04:00
Julian Rex
59cdb144b4 [ios, macos] Update change logs prior to release of v4.3.0 (#12650)
* [ios, macos] Update security vulnerability details in changelogs
* [ios] Updated change log to reference LTO changes.
2018-08-15 16:45:11 -04:00
Nadia Barbosa
91f934fdb6 [macos] Fix pod name within docs 2018-08-15 11:44:21 -07:00
Minh Nguyễn
2173088203 [ios, macos] Copyedited changelogs 2018-08-15 11:12:13 -07:00
Minh Nguyễn
d3e34907a3 [ios, macos] Copyedited changelogs 2018-08-15 11:12:13 -07:00
Minh Nguyễn
2424582ee3 [macos] Canonicalized another exception name 2018-08-15 09:57:28 -07:00
Nadia Barbosa
7795c76ce8 [macos] Rename Guides to Appendices 2018-08-15 09:05:30 -07:00
Łukasz Paczos
1771875b12 [android] hide peer constructors 2018-08-15 17:08:55 +02:00
Łukasz Paczos
c2113fdb98 [android] bumped Snapshot version building on master to 6.5.0 2018-08-15 12:13:18 +02:00
tobrun
b1ab362c11 [android] - store release so files with debugging information 2018-08-15 07:39:33 +02:00
Konstantin Käfer
9d72bf8a1a [build] make sure we're also updating the mapbox-ios-events submodule 2018-08-14 17:03:46 -07:00
Konstantin Käfer
084c28f0bb [core] recreate offline database when it is deleted out from under our feet 2018-08-14 17:03:46 -07:00
Konstantin Käfer
6e06e55b95 WIP: use expected<T, E> for passing on errors 2018-08-14 17:03:46 -07:00
Konstantin Käfer
89515de769 [test] add test for pending offline download when the disk is full 2018-08-14 17:03:46 -07:00
Konstantin Käfer
fa7b70945f [core] harden OfflineDatabase 2018-08-14 17:03:46 -07:00
Konstantin Käfer
a3b6fc1498 [build] vendor std::expected polyfill 2018-08-14 17:03:46 -07:00
Nadia Barbosa
c96d9df798 Guides -> Appendices 2018-08-14 16:38:38 -07:00
Nadia Barbosa
41169403a2 Rename link title 2018-08-14 16:38:38 -07:00
Nadia Barbosa
66a09b924f Fix line break 2018-08-14 16:38:38 -07:00
Nadia Barbosa
04705f4364 Addiional darwin fixes and Jazzy template updates 2018-08-14 16:38:38 -07:00
Nadia Barbosa
9bd23a7362 Update darwin docs 2018-08-14 16:38:38 -07:00
Nadia Barbosa
b8a1b13420 Fix typo 2018-08-14 16:38:38 -07:00
Nadia Barbosa
bee605e063 Edit link 2018-08-14 16:38:38 -07:00
Nadia Barbosa
4b9ed3837a [ios] Remove duplicated guides 2018-08-14 16:38:38 -07:00
Chris Loer
20f880ebec [core] Fix querying for annotations near tile boundaries at high zoom.
Fixes issue #12472.
This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves.
Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles.
The rendering/querying code will take care of only displaying one instance.
The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom.
2018-08-14 12:35:50 -07:00
Vladimir Kondrashov
9ecb0997ef [core] Fix out of range exception for string compare 2018-08-14 11:16:10 -07:00