Commit Graph

15658 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
bd1fcfd314 [render tests] Add resources for tile-mode/streets-v11 2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
b5eed1cd19 Bump mapbox-gl-js
so that it includes `tile-mode/streets-v11` test
2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
260148878c [core] CollisionIndex::intercectsTileEdges -> intersectsTileEdges 2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
42068691c8 [core] Tile mode placement algorithm must consider icons bounding boxes
Tile mode placement algorithm now checks if bounding boxes for both label text and icon are intersecting the edges of the tiles.

Before, it checked only text bounding boxes and thus label icons might have got cut off.
2020-03-06 23:46:52 +02:00
Thiago Marcos P. Santos
0565b899ae [build] Removed unused misc code
This BUCK code is not used by our CI.
2020-03-06 15:57:38 +02:00
Juha Alanen
987f214273 [build] Collect code coverage from macOS builds
Collect coverage from development builds and add a nightly build
to collect metrics.
2020-03-06 13:52:00 +02:00
zmiao
c9c03b092b Update changelog 2020-03-05 20:53:16 +02:00
zmiao
f23599c41d [core] Remove unnecessary intermediate PolygonFeature 2020-03-05 20:53:16 +02:00
zmiao
aa0c9c267f [core] Fix within expression serialization + fix within expression equal operator 2020-03-05 20:53:16 +02:00
zmiao
c69d3b46b1 [core] Fix within case when point is on polygon boundary 2020-03-05 20:53:16 +02:00
zmiao
9fbcb45c89 [core] Make within expression support generic geoJSON data 2020-03-05 20:53:16 +02:00
Alexander Shalamov
9ff1435aaa [core] Change GeoJSONOptions.clusterProperties to std::map
The clusterProperties contain only few elements at most.
2020-03-05 17:43:37 +02:00
Alexander Shalamov
f5b9716030 [core] Update changelog 2020-03-05 17:43:37 +02:00
Alexander Shalamov
55ea01252d [core] Update binary size metrics for test apps 2020-03-05 17:43:37 +02:00
Alexander Shalamov
039bc80411 [android] Update android snapshotter 2020-03-05 17:43:37 +02:00
Alexander Shalamov
d86eb878ce [glfw] Use simplified Snapshotter API 2020-03-05 17:43:37 +02:00
Alexander Shalamov
ca4356fd0f [glfw] Add snapshotter to glfw test app 2020-03-05 17:43:37 +02:00
Alexander Shalamov
9a0bc1b58b [core] Add snapshotter unit tests 2020-03-05 17:43:37 +02:00
Alexander Shalamov
deca818614 [core] Simplify MapSnapshotter constructor and add observer interface 2020-03-05 17:43:37 +02:00
Alexander Shalamov
174f40dee3 [core] Add Snapshotter::cancel method 2020-03-05 17:43:37 +02:00
Alexander Shalamov
1577a6b537 [core] Expose Style from Snapshotter 2020-03-05 17:43:37 +02:00
Alexander Shalamov
29eff4028d [core] Remove Actor from public Snapshotter API 2020-03-05 17:43:37 +02:00
Alexander Shalamov
09e69654fa [core] Refactor Snapshotter
Move renderer to a separate thread while keeping map on a client thread.
2020-03-05 17:43:37 +02:00
Alexander Shalamov
81e116d41a [core] Use weak annotation manager
Map and renderer / orchestrator should be able to run on a separate threads,
however, legacy AnnotationManager is shared between Map and Renderer, therefore
is not a thread safe. Until AnnotationManager is deprecated and removed from a
code-base, use it only via weak pointers.
2020-03-05 17:43:37 +02:00
Mikhail Pozdnyakov
c5155dcf33 [render test runner] Enable pixel ratio in tile mode 2020-03-05 16:12:43 +02:00
Thiago Marcos P. Santos
dc510e44c0 [default] Build a no-op number formatter for old ICUs
This has been causing too many build problems and it is
a major source of complains because of different ICU interfaces.
2020-03-05 01:58:34 +02:00
Kevin Li
fb0c7c93a0 [android] Add sort key jni binding for fill_layer and line_layer (#16256) 2020-03-04 19:57:07 +08:00
Kevin Li
efc605bed6 [android] Update toGeoJSON in android_conversion.hpp (#16243)
* [android] Update toGeoJSON in android_conversion.hpp

* Fix review comments

* Update android_conversion.hpp
2020-03-04 14:15:14 +08:00
Mikhail Pozdnyakov
44ac1f008a [core] Drop BucketPlacementParameters 2020-03-03 16:13:48 +02:00
Mikhail Pozdnyakov
24fa599903 [core] Split LayerPlacementData and BucketPlacementData 2020-03-03 16:13:48 +02:00
Mikhail Pozdnyakov
f748972fe9 [core] Get rid of LayerPlacementData::firstInBucket 2020-03-03 16:13:48 +02:00
Mikhail Pozdnyakov
dea1063319 [core] Encapsulate placement code handling symbols sort ranges 2020-03-03 16:13:48 +02:00
Juha Alanen
ffe95ec7d3 [test] Add test manifest for the nightly build
Use the same test manifest for the development and nightly
coverage CI builds. Add manifest for the nightly build by
creating a symbolic link to the existing manifest.
2020-03-03 13:30:53 +02:00
Aleksandar Stojiljkovic
42469cdb66 Disable depth in heatmap offscreen rendering.
It triggers Metal depth stencil validation error since depth test is enabled with no depth attachment.
2020-03-02 12:19:58 +02:00
Mikhail Pozdnyakov
8c0f90ce84 Add change log entry 2020-03-02 10:32:20 +02:00
Mikhail Pozdnyakov
25c8d0ecc8 [default] Fix possible crash at RunLoop::wake() 2020-03-02 10:32:20 +02:00
Juha Alanen
3a530d5589 [build] Add nightly build to publish coverage metrics
Get coverage metrics from codecov.io and upload
them to S3.
2020-03-02 09:16:18 +02:00
Juha Alanen
bc9f51e78b [build] Generate coverage results separately before uploading to codecov
The codecov.io script has issues with generating coverage result files
so generate them separately with gcov and only use the codecov.io script
to upload the results.
2020-03-02 09:16:18 +02:00
Juha Alanen
7cc2f7efd5 [build] Upload code coverage results to codecov.io 2020-03-02 09:16:18 +02:00
Juha Alanen
34cb92096b [build] Ignore test directories for code coverage 2020-03-02 09:16:18 +02:00
Mikhail Pozdnyakov
6bed2079e3 Add change log entry 2020-02-28 21:42:03 +02:00
Mikhail Pozdnyakov
01c056f46d [core] Fix iterators in addRegularDash()
Fix using of invalid iterators.
2020-02-28 21:42:03 +02:00
Alexander Shalamov
55d5b976dc [core] Prepare changelog for maps-v1.3.0 (2020.02-release-vanillashake) release 2020-02-28 17:35:30 +02:00
Alexander Shalamov
6d6c344fe1 Update changelog 2020-02-28 15:00:47 +02:00
Mikhail Pozdnyakov
517f780e60 Add change log entry 2020-02-28 12:52:26 +02:00
Mikhail Pozdnyakov
3bf9143079 Emit error message with URL details on load error 404 2020-02-28 12:52:26 +02:00
Mikhail Pozdnyakov
91437d8101 Add OfflineDownload.NoFreezingOnNotFoundError unit test 2020-02-28 12:52:26 +02:00
Mikhail Pozdnyakov
2b1bb1dc4a [core][offline] Offline download does not hang on 404 error 2020-02-28 12:52:26 +02:00
Kevin Li
e0c2b3e771 [android] Add jni binding for min and max pitch (#16236)
* [android] Add jni binding for min and max pitch

* Update CHANGELOG.md
2020-02-28 17:26:15 +08:00
Minh Nguyễn
668a453022 [ios] Restored support for iOS 9–11 by default 2020-02-28 10:07:34 +02:00