Commit Graph

15236 Commits

Author SHA1 Message Date
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
Minh Nguyễn
72cb8f09e2 [core] Fixed codegen script
Updated path to style spec reference following spinoff from gl-native repository. Centralized overrides for not-yet-implemented layout properties. Removed overrides that have already been removed for mbgl in gl-native.
2020-02-26 12:24:21 -08:00
Minh Nguyễn
105c3d288d [macos] Disable codegen nitpick for now 2020-02-26 12:12:41 -08:00
Minh Nguyễn
a0c7b2d72c [macos] Fixed attribution round-tripping test
AppKit incorrectly uses calibrated RGB when exporting HTML, so input calibrated RGB to ensure round-tripping.
2020-02-26 12:12:41 -08:00
Minh Nguyễn
4c8f5524a9 [macos] Build macOS on CI
But not mbgl.
2020-02-26 12:12:41 -08:00
Minh Nguyễn
f161d738f8 [ios, macos] Synchronized, copyedited changelogs 2020-02-26 12:12:41 -08:00
Minh Nguyễn
18f3b1d14f [ios, macos] Factored out Darwin build settings
iOS and macOS once again share most build settings.
2020-02-26 12:12:41 -08:00
Minh Nguyễn
c92aea1758 [ios, macos] Correctly escape project path
Fixed make warnings about duplicate commands getting overridden.
2020-02-26 12:12:41 -08:00
Minh Nguyễn
78b000a94c [macos] Restored macOS make targets
Restored macOS make targets, including the genstrings target shared between iOS and macOS. Updated macOS build settings to align with current CMake build system.
2020-02-26 12:12:41 -08:00
Minh Nguyễn
df8a934376 [ios, macos] Streets tiles can contain Traditional Chinese, Vietnamese 2020-02-21 10:59:56 -08:00
Julian Rex
6cc7ace49d Tweaks for failing integration tests on simulators (#170) 2020-02-19 15:49:41 -05:00
Jordan Kiley
2bf5999f3e Update podspecs and changelog for v5.7.0 (#164) (#165) 2020-02-13 13:48:40 -08:00