Julian Rex
4dbff0ff55
Fix compilation errors when compiling tests in release. ( #245 )
2020-03-30 16:27:05 -04:00
Minh Nguyễn
9401f340e7
ios-v5.8.0-beta.2, macos-v0.15.0-beta.2
2020-03-27 15:43:02 -07:00
Minh Nguyễn
9dcbadeba3
[ios, macos] Increase snapshot test timeout
2020-03-27 15:43:02 -07:00
Julian Rex
171ff9484a
Adds delegate to MGLNetworkConfiguration ( #228 )
2020-03-27 10:28:21 -04:00
Julian Rex
be6574d0df
Updates gl-native submodule to 1.5.0 release ( #242 )
2020-03-26 19:18:34 -04:00
Minh Nguyễn
1d466465a5
[macos] Match snapshotted style with main map
...
Copy layer visibility settings and translated labels from the main map to the snapshotted map.
2020-03-26 15:29:33 -07:00
Minh Nguyễn
3a55330765
[ios, macos] Snapshot-test runtime styling in snapshots
2020-03-26 15:29:33 -07:00
Minh Nguyễn
ecf9a141a0
[ios, macos] Unit-test snapshotter
2020-03-26 15:29:33 -07:00
Minh Nguyễn
63bf91125a
[ios, macos] Snapshotter (runtime styling) delegates
...
Added a protocol and property for MGLMapSnapshotter’s delegate, which it uses for runtime styling. Generalized MGLStyle to be usable in the absence of MGLMapView. Moved MGLOpenGLStyleLayer code around to compile.
2020-03-26 15:29:33 -07:00
Minh Nguyễn
180ab72055
[macos] Call overlay handler when snapshotting
2020-03-26 15:29:33 -07:00
Jordan Kiley
6d0c81ddaf
Add triage label to new issues ( #232 )
...
* Add triage label automatically
* change to status: triage
2020-03-19 17:23:07 -07:00
Julian Rex
3aa84ed731
Refactor metrics triggering ( #231 )
2020-03-19 13:41:48 -04:00
Julian Rex
be34d3f420
Remove multiline. ( #230 )
2020-03-19 00:38:00 -04:00
Julian Rex
f719de9ff4
Updates metrics trigger. ( #229 )
2020-03-18 23:06:40 -04:00
Minh Nguyễn
81df48df70
ios-v5.8.0-beta.1, macos-v0.15.0-beta.1
2020-03-17 12:27:35 -07:00
Julian Rex
d0bed6e00d
Try with 1 less core.
2020-03-17 12:27:04 -07:00
Minh Nguyễn
e27b889215
[ios, macos] Sorted a changelog entry
2020-03-17 02:14:03 -07:00
Minh Nguyễn
7b92e2a032
[macos] Highlight UC POIs
2020-03-17 02:14:03 -07:00
Minh Nguyễn
5196e37d48
[ios, macos] Convert NSDictionary to GeoJSON
2020-03-17 02:14:03 -07:00
Minh Nguyễn
93f5290c0e
[ios, macos] SELF IN MGLShape expressions
...
Added support for the expression syntax “SELF IN shape” or “shape CONTAINS SELF”, which is interpreted as a “within” expression in JSON format.
2020-03-17 02:13:53 -07:00
Minh Nguyễn
957296b2fb
[ios, macos] Convert geometries to shapes, not features
...
Fixed an issue where GeoJSON geometries were converted to MGLFeature instances instead of MGLShape objects.
2020-03-17 01:48:28 -07:00
Minh Nguyễn
342606db99
[ios, macos] Documented new aggregate predicate support
2020-03-17 01:47:53 -07:00
Minh Nguyễn
fb559ea8d4
[ios, macos] Aggregate equality predicates
...
Added support for “ANY … =” and “ALL … !=” as synonyms for “IN” and “NOT IN”, respectively.
2020-03-17 01:47:49 -07:00
Minh Nguyễn
bc6f434a88
[ios, macos] Removed in expression workaround
...
Removed the match-based in expression workaround in favor of real support for an in expression operator. Avoid interpreting “literal IN literal” predicates as legacy filters.
2020-03-17 01:46:22 -07:00
Minh Nguyễn
363610c7df
[ios] Test snapshotting on background queue
2020-03-16 18:17:08 -07:00
Minh Nguyễn
3318a0a383
[ios, macos] Keep MGLMapSnapshotter alive through completion
2020-03-16 18:17:08 -07:00
Minh Nguyễn
d357f8c511
[ios, macos] Clarify threading in snapshotter documentation
2020-03-16 18:13:58 -07:00
Minh Nguyễn
8148cb7ff9
[ios, macos] Document changes to snapshotter memory management
2020-03-16 18:13:58 -07:00
Minh Nguyễn
8998f7a314
[ios, macos] Documented performance and caching improvements in mbgl v1.4.0
2020-03-16 18:13:58 -07:00
Minh Nguyễn
98e8af96d3
[ios, macos] Streamlined MGLMapSnapshotter
...
Upgraded MGLMapSnapshotter to be compatible with the latest mbgl.
Converted as many of MGLMapSnapshotter’s instance variables and properties as possible into local variables close to the point of use. The completion handler of -startWithCompletionHandler: and its variants is no longer called as part of -cancel, when the snapshotter is deallocated, or when the application is terminating. -loading once again works and is used to avoid concurrent requests, now that the completion handler is no longer memoized. Snapshotter options are copied and converted into a snapshotter on demand as late as possible.
Made the decoration step synchronous while continuing to perform it on a worker thread. Only access self on user-facing queues. Ensure MGLMapSnapshotter.loading is reset after snapshotting.
Pushed some drawing and completion code up from inner completion blocks to outer completion blocks to avoid excessively passing state around. Converted a few class methods into standalone C functions to emphasize the avoidance of captured state.
2020-03-16 18:13:42 -07:00
Minh Nguyễn
5be63a0d4a
[ios, macos] Updated MGLSymbolStyleLayer.symbolSortKey documentation
2020-03-16 17:59:35 -07:00
Minh Nguyễn
48f034cecd
mbgl v1.4.0
2020-03-16 17:59:34 -07:00
Alexander Shalamov
8b12c6b305
Add async completion handler to MGLOfflineStorage::preloadData ( #188 )
...
* Add async completion handler to preloadData
* Update unit tests
* Update changelogs for iOS and macOS
2020-03-16 10:20:02 +02:00
Minh Nguyễn
75f2681c19
[ios, macos] Minimum and maximum pitch
...
Added computed properties to MGLMapView for further restricting the map’s camera’s pitch.
2020-03-12 17:07:06 -07:00
Minh Nguyễn
dc3470b993
[ios, macos] Only set stretchable regions for stretch resizing mode
2020-03-11 16:55:18 -07:00
Minh Nguyễn
a18d5211a6
[ios, macos] Roundtrip resizable image cap insets
2020-03-11 16:55:18 -07:00
Minh Nguyễn
c225a50f25
[ios, macos] Added image stretching tests
2020-03-11 16:55:18 -07:00
Minh Nguyễn
9c4b5ee557
[ios, macos] Nine-part resizable images
...
The MGLSymbolStyleLayer.iconTextFit property now respects the cap insets of any nine-part stretchable image passed into the -[MGLStyle setImage:forName:] method.
The “Manipulate Style” command in macosapp demonstrates the stretchable image feature by adding a single Ohio state route shield image, which has cap insets defined in the asset catalog, and labeling each Ohio state route with that image, stretched to fit the route number without widening the icon’s stroke.
2020-03-11 16:55:18 -07:00
Chloe Krawczyk
33ee616396
Add pr template for drafting changelogs ( #203 )
2020-03-11 11:22:36 -07:00
Minh Nguyễn
20730e122e
mbgl v1.3.1+ios
2020-03-09 22:07:49 -07:00
Minh Nguyễn
0776d48503
[macos] Install Node packages before running checks
2020-03-06 15:19:41 -08:00
Minh Nguyễn
c95c4eaccd
[ios] Updated Slack notifications
2020-03-06 15:19:08 -08:00
Minh Nguyễn
7320eea5bc
ios-v5.8.0-alpha.1, macos-v0.15.0-alpha.1
2020-03-05 17:20:46 -08:00
Minh Nguyễn
3cbdee8a29
[macos] Fixed typos
2020-03-05 17:20:41 -08:00
Minh Nguyễn
e6a667bf6b
mapbox-gl-native v1.3.1
2020-03-05 16:23:02 -08:00
Minh Nguyễn
87fac0bb34
[ios, macos] Updated changelogs
2020-02-28 11:45:14 -08:00
Minh Nguyễn
2f8059af15
[ios, macos] Customized symbolAvoidsEdges documentation
...
No one using the iOS or macOS map SDK will know whether it supports “global collision detection” based on “GL JS v0.42.0 or greater”.
2020-02-28 11:45:14 -08:00
Minh Nguyễn
5b4fb6c216
mapbox-gl-native v1.3.0
2020-02-28 11:45:09 -08:00
Minh Nguyễn
e403a069f0
[ios, macos] Added sort key properties
2020-02-26 12:24:21 -08:00
Minh Nguyễn
f756192c1d
Revert "[macos] Disable codegen nitpick for now"
...
This reverts commit 73295e9d80a2a79869e6c0e38eae62fd358dd476.
2020-02-26 12:24:21 -08:00