Added the ios/macos format expression bindings.
The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.
A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.
Updated the symbol style layer text test to use the bindings.
Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
71 lines
2.0 KiB
Objective-C
71 lines
2.0 KiB
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "MGLFoundation.h"
|
|
|
|
/// Project version number for Mapbox.
|
|
FOUNDATION_EXPORT MGL_EXPORT double MapboxVersionNumber;
|
|
|
|
/// Project version string for Mapbox.
|
|
FOUNDATION_EXPORT MGL_EXPORT const unsigned char MapboxVersionString[];
|
|
|
|
#import "MGLAccountManager.h"
|
|
#import "MGLAnnotation.h"
|
|
#import "MGLAnnotationImage.h"
|
|
#import "MGLClockDirectionFormatter.h"
|
|
#import "MGLCluster.h"
|
|
#import "MGLCompassDirectionFormatter.h"
|
|
#import "MGLCoordinateFormatter.h"
|
|
#import "MGLDistanceFormatter.h"
|
|
#import "MGLFeature.h"
|
|
#import "MGLGeometry.h"
|
|
#import "MGLLight.h"
|
|
#import "MGLMapCamera.h"
|
|
#import "MGLMapView.h"
|
|
#import "MGLMapView+IBAdditions.h"
|
|
#import "MGLMapViewDelegate.h"
|
|
#import "MGLMultiPoint.h"
|
|
#import "MGLOfflinePack.h"
|
|
#import "MGLOfflineRegion.h"
|
|
#import "MGLOfflineStorage.h"
|
|
#import "MGLOverlay.h"
|
|
#import "MGLPointAnnotation.h"
|
|
#import "MGLPointCollection.h"
|
|
#import "MGLPolygon.h"
|
|
#import "MGLPolyline.h"
|
|
#import "MGLShape.h"
|
|
#import "MGLShapeCollection.h"
|
|
#import "MGLStyle.h"
|
|
#import "MGLStyleLayer.h"
|
|
#import "MGLForegroundStyleLayer.h"
|
|
#import "MGLVectorStyleLayer.h"
|
|
#import "MGLFillStyleLayer.h"
|
|
#import "MGLFillExtrusionStyleLayer.h"
|
|
#import "MGLLineStyleLayer.h"
|
|
#import "MGLSymbolStyleLayer.h"
|
|
#import "MGLRasterStyleLayer.h"
|
|
#import "MGLCircleStyleLayer.h"
|
|
#import "MGLBackgroundStyleLayer.h"
|
|
#import "MGLHeatmapStyleLayer.h"
|
|
#import "MGLHillshadeStyleLayer.h"
|
|
#import "MGLOpenGLStyleLayer.h"
|
|
#import "MGLSource.h"
|
|
#import "MGLTileSource.h"
|
|
#import "MGLVectorTileSource.h"
|
|
#import "MGLShapeSource.h"
|
|
#import "MGLComputedShapeSource.h"
|
|
#import "MGLRasterTileSource.h"
|
|
#import "MGLRasterDEMSource.h"
|
|
#import "MGLImageSource.h"
|
|
#import "MGLTilePyramidOfflineRegion.h"
|
|
#import "MGLShapeOfflineRegion.h"
|
|
#import "MGLTypes.h"
|
|
#import "NSValue+MGLAdditions.h"
|
|
#import "MGLStyleValue.h"
|
|
#import "MGLAttributionInfo.h"
|
|
#import "MGLMapSnapshotter.h"
|
|
#import "NSExpression+MGLAdditions.h"
|
|
#import "NSPredicate+MGLAdditions.h"
|
|
#import "MGLLoggingConfiguration.h"
|
|
#import "MGLNetworkConfiguration.h"
|
|
#import "MGLAttributedExpression.h"
|