diff options
Diffstat (limited to 'platform/macos')
-rw-r--r-- | platform/macos/CHANGELOG.md | 1 | ||||
-rw-r--r-- | platform/macos/src/MGLMapView+IBAdditions.h | 4 | ||||
-rw-r--r-- | platform/macos/src/MGLMapView.h | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/platform/macos/CHANGELOG.md b/platform/macos/CHANGELOG.md index 49dd5ff53a..88fa37052b 100644 --- a/platform/macos/CHANGELOG.md +++ b/platform/macos/CHANGELOG.md @@ -17,6 +17,7 @@ ### Other changes * The `-[MGLMapView setCamera:withDuration:animationTimingFunction:edgePadding:completionHandler:]` method now adds the current value of the `MGLMapView.contentInsets` property to the `edgePadding` parameter. ([#14813](https://github.com/mapbox/mapbox-gl-native/pull/14813)) +* Updated "map ID" to the more accurate term "tileset ID" in documentation; updated "style's Map ID" to the more accurate term "style URL". ([#15116](https://github.com/mapbox/mapbox-gl-native/pull/15116)) ### Other changes diff --git a/platform/macos/src/MGLMapView+IBAdditions.h b/platform/macos/src/MGLMapView+IBAdditions.h index 8a4a90917b..29d914a7d9 100644 --- a/platform/macos/src/MGLMapView+IBAdditions.h +++ b/platform/macos/src/MGLMapView+IBAdditions.h @@ -21,8 +21,8 @@ NS_ASSUME_NONNULL_BEGIN /** URL of the style currently displayed in the receiver. - The URL may be a full HTTP or HTTPS URL, a Mapbox URL indicating the style’s - map ID (`mapbox://styles/<user>/<style>`), or a path to a local file + The URL may be a full HTTP or HTTPS URL, a Mapbox + style URL (`mapbox://styles/<user>/<style>`), or a path to a local file relative to the application’s resource path. Leave this field blank for the default style. */ @property (nonatomic, nullable) IBInspectable NSString *styleURL__; diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h index f5fcee5b25..7617063430 100644 --- a/platform/macos/src/MGLMapView.h +++ b/platform/macos/src/MGLMapView.h @@ -84,7 +84,7 @@ MGL_EXPORT IB_DESIGNABLE @param frame The frame for the view, measured in points. @param styleURL URL of the map style to display. The URL may be a full HTTP or - HTTPS URL, a Mapbox URL indicating the style’s map ID + HTTPS URL, a Mapbox style URL (`mapbox://styles/<user>/<style>`), or a path to a local file relative to the application’s resource path. Specify `nil` for the default style. @return An initialized map view. @@ -130,8 +130,8 @@ MGL_EXPORT IB_DESIGNABLE /** URL of the style currently displayed in the receiver. - The URL may be a full HTTP or HTTPS URL, a Mapbox URL indicating the style’s - map ID (`mapbox://styles/<user>/<style>`), or a path to a local file relative + The URL may be a full HTTP or HTTPS URL, a Mapbox + style URL (`mapbox://styles/<user>/<style>`), or a path to a local file relative to the application’s resource path. If you set this property to `nil`, the receiver will use the default style and |