From 271b78c1309dd9391e9fc315e9d9873381f5999d Mon Sep 17 00:00:00 2001 From: Josh Erb Date: Tue, 30 Oct 2018 18:03:56 -0400 Subject: [ios][documentation] link API documentation to ios-sdk/examples --- platform/darwin/src/NSExpression+MGLAdditions.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'platform/darwin/src/NSExpression+MGLAdditions.h') diff --git a/platform/darwin/src/NSExpression+MGLAdditions.h b/platform/darwin/src/NSExpression+MGLAdditions.h index 9ee7361448..a242ecff42 100644 --- a/platform/darwin/src/NSExpression+MGLAdditions.h +++ b/platform/darwin/src/NSExpression+MGLAdditions.h @@ -112,6 +112,13 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLExpressionInterpolationMode MGLExpressionI @param steppingExpression The stepping expression. @param minimumExpression The expression which could be a constant or function expression. @param stops The stops must be an `NSDictionary` constant `NSExpression`. + + #### Related examples + See the + Data-driven circles, + Cluster point data, and + Use images to cluster point data examples to learn how to use this + expression to style a map layer based on an attribute value. */ + (instancetype)mgl_expressionForSteppingExpression:(nonnull NSExpression*)steppingExpression fromExpression:(nonnull NSExpression *)minimumExpression stops:(nonnull NSExpression*)stops NS_SWIFT_NAME(init(forMGLStepping:from:stops:)); @@ -125,6 +132,11 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLExpressionInterpolationMode MGLExpressionI `MGLExpressionInterpolationModeCubicBezier`. @param parameters The parameters expression. @param stops The stops expression. + + #### Related examples + See the + Create a heatmap layer example to learn how to style an `MGLHeatmapStyleLayer` + based on zoom level and point density with this expression. */ + (instancetype)mgl_expressionForInterpolatingExpression:(nonnull NSExpression*)inputExpression withCurveType:(nonnull MGLExpressionInterpolationMode)curveType parameters:(nullable NSExpression *)parameters stops:(nonnull NSExpression*)stops NS_SWIFT_NAME(init(forMGLInterpolating:curveType:parameters:stops:)); -- cgit v1.2.1