diff options
Diffstat (limited to 'platform/darwin/src/MGLFillStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLFillStyleLayer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index eadf57222b..4eaf9b53ba 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -39,6 +39,15 @@ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { new fill style layer and add it to the style using a method such as `-[MGLStyle addLayer:]`. + #### Related examples + See the <a + href="https://www.mapbox.com/ios-sdk/maps/examples/select-layer/">Select a + feature within a layer</a> example to learn how to use a `TERNARY` expression + to modify the `fillOpacity` of an `MGLFillStyleLayer` object. See the <a + href="https://www.mapbox.com/ios-sdk/maps/examples/fill-pattern/">Add a pattern + to a polygon</a> example to learn how to use an image to add pattern to the + features styled by a `MGLFillStyleLayer`. + ### Example ```swift |