From 22b3834caa5fe3ae91cf957124a3f1ad1d165cee Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Wed, 4 Jan 2017 07:35:25 -0800 Subject: [ios, macos] Add support for data-driven property functions --- platform/darwin/src/MGLBackgroundStyleLayer.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'platform/darwin/src/MGLBackgroundStyleLayer.h') diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.h b/platform/darwin/src/MGLBackgroundStyleLayer.h index 60090ebfef..02d5faff43 100644 --- a/platform/darwin/src/MGLBackgroundStyleLayer.h +++ b/platform/darwin/src/MGLBackgroundStyleLayer.h @@ -13,11 +13,11 @@ NS_ASSUME_NONNULL_BEGIN map content. If the style’s other layers use the Mapbox Streets source, the background style layer is responsible for drawing land, whereas the oceans and other bodies of water are drawn by `MGLFillStyleLayer` objects. - + A background style layer is typically the bottommost layer in a style, because it covers the entire map and can occlude any layers below it. You can therefore access it by getting the last item in the `MGLStyle.layers` array. - + If the background style layer is transparent or omitted from the style, any portion of the map view that does not show another style layer is transparent. */ @@ -31,11 +31,11 @@ MGL_EXPORT #if TARGET_OS_IPHONE /** The color with which the background will be drawn. - + The default value of this property is an `MGLStyleValue` object containing `UIColor.blackColor`. Set this property to `nil` to reset it to the default value. - + This property is only applied to the style if `backgroundPattern` is set to `nil`. Otherwise, it is ignored. */ @@ -43,11 +43,11 @@ MGL_EXPORT #else /** The color with which the background will be drawn. - + The default value of this property is an `MGLStyleValue` object containing `NSColor.blackColor`. Set this property to `nil` to reset it to the default value. - + This property is only applied to the style if `backgroundPattern` is set to `nil`. Otherwise, it is ignored. */ @@ -56,7 +56,7 @@ MGL_EXPORT /** The opacity at which the background will be drawn. - + The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset it to the default value. -- cgit v1.2.1