Mikhail Pozdnyakov
273ad436fb
[core] Avoid copying feature properties
2019-07-25 17:36:35 +03:00
Mikhail Pozdnyakov
e6e1e15f95
[core] Simplfy ToGeometryCollection
2019-07-25 17:36:35 +03:00
Łukasz Paczos
433d3fb298
[android] align gesture animation reason
2019-07-25 13:48:36 +02:00
Mikhail Pozdnyakov
0051fcdbb8
[core] Optimize Query Rendered Features API
...
This PR filters out invisible layers before quering features
(rather than after, like it happened before).
With this change `API_queryRenderedFeaturesAll` performance test
passes almost two times faster.
2019-07-25 12:58:27 +03:00
m-stephen
2e5897c0f4
[ios, macos]MGLLoggingConfiguration can filter logs from core ( #15120 )
...
* [ios, macos] update proj config
* [ios, macos] implement the logging logic
* [ios, macos] update comments
* [ios, macos] update mac os config
* [ios, macos] re-generate sdk files
* [ios, macos] re-generate sdk files json
* [ios, macos]re-generate json files
* [ios, macos] re-generate ios json files
* [ios] change conditions to bit mask
* [ios, macos]send messages to platform
* [ios, macos] add changelogs
* [ios, macos] revert `logging_nslog`
* [ios, macos] add event name and code into log msg
* [ios, macos] update changlog
* [ios, macos] fix a nit
* [ios, macos]Fix nits.
2019-07-25 15:39:01 +08:00
Jason Wray
a8db681454
[ios, build] Trigger external deploy jobs before long-running build tasks
2019-07-24 15:29:38 -07:00
Jason Wray
05afd88aac
[ios] Prepare ios-v5.2.0 release
2019-07-24 13:27:46 -07:00
Mikhail Pozdnyakov
2c2e8589c3
[core] GeometryCollection must not be implicitly copied
2019-07-24 21:04:56 +03:00
Mikhail Pozdnyakov
a242bd1070
[core] Optimize RenderLineLayer::queryIntersectsFeature
2019-07-24 21:04:56 +03:00
Mikhail Pozdnyakov
ec6650d3c0
[core] Default GeometryTileFeature::getGeometries() implementation
2019-07-24 21:04:56 +03:00
Alexander Shalamov
852fef66ef
[core] Force getGeometries() return const ref
2019-07-24 21:04:56 +03:00
Łukasz Paczos
6798d21eda
[android] changelog for 8.2.0
2019-07-24 18:16:59 +02:00
Mikhail Pozdnyakov
cafecd3f6f
[core] Introduce VertexVector::extend() and use it in placement code.
2019-07-23 16:55:25 +03:00
Alexander Shalamov
d7dd352209
[core] Remove unused field from icon buffer
2019-07-23 15:43:27 +03:00
Alexander Shalamov
b4056ad88f
[core] Update CrossTileSymbolLayerIndex unit test
2019-07-23 15:43:27 +03:00
Alexander Shalamov
ac74fc6d00
[core] Release quad data after vertex buffers are created
2019-07-23 15:43:27 +03:00
Łukasz Paczos
dabf5d0c3a
[android] remove layers first when clearing the style
2019-07-22 16:03:53 +02:00
Mikhail Pozdnyakov
e582a329ef
[core] SymbolBacket creates collision buffers optionally
...
sizeof(SymbolBucket) : 1024 -> 704
2019-07-22 12:23:39 +03:00
Mikhail Pozdnyakov
11bfe23981
[core] Symbol bucket uses shared layout
...
sizeof(SymbolBucket): 2296 -> 1024
2019-07-22 12:23:39 +03:00
Mikhail Pozdnyakov
3184cb29db
[core] sizeof(SymbolBucket) 2312 -> 2296
2019-07-22 12:23:39 +03:00
Łukasz Paczos
d48ec27696
[android] 8.2.0 QA fixes for the test app
2019-07-22 10:00:53 +02:00
Mikhail Pozdnyakov
fd8891c12c
[ios][andoid] Add change log entry
2019-07-22 10:41:03 +03:00
Mikhail Pozdnyakov
3a0db3921c
[core] Introduce RenderTileSetSource class
...
Encapsulates the tiles update logic based on the given tile set.
2019-07-22 10:41:03 +03:00
Mikhail Pozdnyakov
ff42997b01
[core] Avoid unneeded tile sets copying at sources code
2019-07-22 10:41:03 +03:00
Mikhail Pozdnyakov
bbe7679bc6
[core] Render sources keep the existing tiles until the new tileset is ready
...
In Continuous map mode, keep the existing tiles if the new tileset is not
yet available, thus providing smart style transitions without flickering.
2019-07-22 10:41:03 +03:00
Thiago Marcos P. Santos
1aa4776dc1
[tests] Bump GL JS to run render test for #15139
...
https://github.com/mapbox/mapbox-gl-js/pull/8510
2019-07-19 15:17:00 +02:00
Thiago Marcos P. Santos
fe9d463658
[core] Do not try to place a center anchor beyond the center of the line
...
Once the algorithm finds the center of the line, if placement is
not possible, do not place the anchor.
Previous code was trying to continue place the label beyond the center
of the segment.
Fixes #15139 .
2019-07-19 15:17:00 +02:00
Aleksandar Stojiljkovic
d7f28c3079
Fix wrong #15065 nit fix
...
Change in 3ffc14a325
was a typo while addresssing review nit: while it didn't affect render tests it doesn't work properly in all cases.
Fixes : #14844 , #14779 , #15039
2019-07-19 12:58:19 +03:00
Tobrun
79bdce6cd4
[android] - update dependencies, target SDK, support library ( #15135 )
2019-07-19 11:46:38 +02:00
Tobrun
de667d2fe5
Merge pull request #15170 from mapbox/tvn-snapshot
...
Update snapshot version for the q release
2019-07-19 10:51:02 +02:00
tobrun
bd6c0cc55e
[android] - update CI image of the release job
2019-07-19 10:50:53 +02:00
Heather Stenson
fd99a6e570
[docs] Remove references to increasing offline tile limit
2019-07-18 16:27:31 -07:00
Łukasz Paczos
4a93f39700
[android] ignore a flaky MapSnapshotter test until #11669 is resolved
2019-07-18 14:39:25 +02:00
Łukasz Paczos
146e2c555f
[android] changelog for 8.2.0-beta.1
2019-07-18 13:38:06 +02:00
Łukasz Paczos
048a07e3c9
[android] fail MapSnapshotter test in case of an error returned from core
2019-07-18 10:54:39 +02:00
Jason Wray
19aa8060b3
[ios] Prepare ios-v5.2.0-beta.1 release
2019-07-17 16:51:59 -07:00
Aleksandar Stojiljkovic
ae38a22dc1
[core] Fix collision with content insets
...
Viewport center offset usage was wrongly submitted in #14664 . It was part of alternative approach that used enlarged viewport. Existing and added tests were not sufficient to spot the regression, since the collision check padding is usually larger than the center offset x and y. Annotation picking has tolerance of only 10 pixels but no annotation integration test was using content insets.
Usage of offset is not needed because `posMatrix` in e.g. `CollisionIndex::projectPoint(const mat4& posMatrix, const Point<float>& point)` already incorporates center offset (projection matrix) and the code in current master was just offsetting all by the value.
Modified [ios] MGLAnnotationViewIntegrationTests.testSelectingAnnotationWithCenterOffset to use different insets. It verifies the fix.
Fixes [iOS] Annotations are not selectable (added via iosapp menu) #15106 :
In case of #15106 , view's original content insets is {top:88, bottom:34}, causing that center offset is {x:0, y:27} and selection with tolerance of 10 wouldn't select annotation.
After tapping the view, so that the header gets removed, view's content insets get changed to {top:44, bottom:34}, center offset is {x:0, y:5} and annotation selection would work, as described in #15106 .
Fixes : #15106
2019-07-17 16:13:33 -07:00
Jordan Kiley
8fe469f6b1
[ios] Add changelog entry for Cache Management API ( #15131 )
2019-07-17 13:55:11 -07:00
Nadia Barbosa
54fb5b046e
[ios, macos] Update Jazzy theme ( #15125 )
...
* [ios, macos] Update Jazzy theme
module_version -> module-version
* Update platform/macos/scripts/document.sh
2019-07-17 13:02:30 -07:00
Jason Wray
5b820a926d
[ios] Add MGLMapViewZoomTests
2019-07-17 12:38:15 -07:00
Jason Wray
866aa6a6f1
[ios] Check center coordinate in MGLMapViewDirectionTests
2019-07-17 12:38:15 -07:00
Jason Wray
4e1ba601b3
[ios] Clean-up direction and compass tests
2019-07-17 12:38:15 -07:00
Łukasz Paczos
3ced4a943b
[android] update Bintray's package name
2019-07-17 17:17:03 +02:00
Mikhail Pozdnyakov
f63a906ea1
Bump mapbox-gl-js version
2019-07-17 14:52:47 +03:00
Mikhail Pozdnyakov
8574b8b726
[core] Favor previous anchor only when still in the text-variable-anchor options
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/8473
2019-07-17 14:52:47 +03:00
Heather Stenson
5f6f20e667
[ios, macos] Change "map ID" to "tileset ID" ( #15116 )
...
* map id --> tileset id
* styles map id -> style url
* update changelog
2019-07-16 18:36:07 -07:00
Jordan Kiley
9d8839c4b8
[ios] Cache Management API ( #14978 )
2019-07-16 14:58:32 -07:00
tobrun
0baa54a194
[android] - create map snapshot from testcase
2019-07-16 17:06:19 +02:00
m-stephen
d2434d0751
[ios , macos] Exclude CJK resources from offline download by default ( #14952 )
...
* [iOS, macOS] exclude CJK glyphs resources download by default.
* [iOS, macOS] update iosapp
* [iOS, macOS] update macOS
* [iOS, macOS] update iOS change log
* [iOS, macOS] update macOS change log
* [iOS, macOS] update comment & add test cases
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
2019-07-16 11:39:34 +08:00
Julian Rex
3c488e05ef
[ios] Adds thread safe access to MGLNetworkConfiguration events dictionary ( #15113 )
2019-07-15 21:11:17 -04:00