mgl_expressionForSteppingExpression static method
NSExpression
mgl_expressionForSteppingExpression(
- NSExpression steppingExpression, {
- required NSExpression fromExpression,
- required NSExpression stops,
Returns a step function expression specifying the stepping, from expression and stops.
@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
TODO: Data-driven circles TODO: Cluster point data TODO: Use images to cluster point data Learn how to use this expression to style a map layer based on an attribute value.
Implementation
static NSExpression mgl_expressionForSteppingExpression(NSExpression steppingExpression, {required NSExpression fromExpression,required NSExpression stops}) {
objc.checkOsVersionInternal('NSExpression.mgl_expressionForSteppingExpression:fromExpression:stops:', iOS: (false, (3, 0, 0)), macOS: (false, (10, 4, 0)));
final _ret = _objc_msgSend_11spmsz(_class_NSExpression, _sel_mgl_expressionForSteppingExpression_fromExpression_stops_, steppingExpression.ref.pointer, fromExpression.ref.pointer, stops.ref.pointer);
return NSExpression.castFromPointer(_ret, retain: true, release: true);
}