diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2018-04-23 09:05:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 09:05:36 -0400 |
commit | a45670cfb5752866b9c8130024a313944684c2db (patch) | |
tree | 9964a1ec295d5033204062f221615c0bcc54344a /platform/macos | |
parent | 991264ae657303e172ba1cdd1aa56eb27b951c92 (diff) | |
download | qtlocation-mapboxgl-a45670cfb5752866b9c8130024a313944684c2db.tar.gz |
[ios, macos] Rename featureProperties to featureAttributes. (#11748)
* [ios, macos] Rename featureProperties to featureAttributes.
* [ios, macos] Update style documentation.
* [ios, macos] Remove featureProperties variable tests.
* [ios, macos] Update the changelogs.
Diffstat (limited to 'platform/macos')
-rw-r--r-- | platform/macos/CHANGELOG.md | 6 | ||||
-rw-r--r-- | platform/macos/docs/guides/For Style Authors.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/platform/macos/CHANGELOG.md b/platform/macos/CHANGELOG.md index 37a6ed39cc..498ed3c379 100644 --- a/platform/macos/CHANGELOG.md +++ b/platform/macos/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog for Mapbox Maps SDK for macOS +## 0.7.1 + +### Style layers + +* Deprecated `+[NSExpression featurePropertiesVariableExpression]` use `+[NSExpression featureAttributesVariableExpression]` instead. ([#11748](https://github.com/mapbox/mapbox-gl-native/pull/11748)) + ## 0.7.0 - April 19, 2018 The 0.7._x_ series of releases will be the last to support macOS 10.10. The minimum macOS deployment version will increase to macOS 10.11.0 in a future release. diff --git a/platform/macos/docs/guides/For Style Authors.md b/platform/macos/docs/guides/For Style Authors.md index fff70d0a90..22182c7810 100644 --- a/platform/macos/docs/guides/For Style Authors.md +++ b/platform/macos/docs/guides/For Style Authors.md @@ -324,7 +324,7 @@ In style specification | Method, function, or predicate type | Format string syn `typeof` | | `geometry-type` | `NSExpression.geometryTypeVariableExpression` | `$geometryType` `id` | `NSExpression.featureIdentifierVariableExpression` | `$featureIdentifier` -`properties` | `NSExpression.featurePropertiesVariableExpression` | `$featureProperties` +`properties` | `NSExpression.featureAttributesVariableExpression` | `$featureAttributes` `at` | `objectFrom:withIndex:` | `array[n]` `get` | `+[NSExpression expressionForKeyPath:]` | Key path `has` | `mgl_does:have:` | `mgl_does:have:(self, 'key')` |