* [ios, macos] Introduce MGLPointCollection This makes MGLMultiPoint abstract again so that it is only a place for shared functionality of polygons and polylines. The multipoint feature replaces the point collection feature and can be used to initialize a MGLGeoJSONSource. The previously added swift_names for polyline and polygon are removed, for now. This also updates the iOS and macOS annotation adding logic so that unwanted shapes really are avoided. Previously the combined OR conditions meant that an annotation had to logically be NOT a kind of all three types so the check always let the annotation slip through. This also expands the guard to deflect the new MGLPointCollection.
50 lines
1.4 KiB
Objective-C
50 lines
1.4 KiB
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
/// Project version number for Mapbox.
|
|
FOUNDATION_EXPORT double MapboxVersionNumber;
|
|
|
|
/// Project version string for Mapbox.
|
|
FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
|
|
|
|
#import "MGLAccountManager.h"
|
|
#import "MGLAnnotation.h"
|
|
#import "MGLAnnotationImage.h"
|
|
#import "MGLClockDirectionFormatter.h"
|
|
#import "MGLCompassDirectionFormatter.h"
|
|
#import "MGLCoordinateFormatter.h"
|
|
#import "MGLFeature.h"
|
|
#import "MGLGeometry.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 "MGLLineStyleLayer.h"
|
|
#import "MGLSymbolStyleLayer.h"
|
|
#import "MGLRasterStyleLayer.h"
|
|
#import "MGLCircleStyleLayer.h"
|
|
#import "MGLBackgroundStyleLayer.h"
|
|
#import "MGLSource.h"
|
|
#import "MGLVectorSource.h"
|
|
#import "MGLGeoJSONSource.h"
|
|
#import "MGLRasterSource.h"
|
|
#import "MGLTilePyramidOfflineRegion.h"
|
|
#import "MGLTypes.h"
|
|
#import "NSValue+MGLAdditions.h"
|
|
#import "MGLStyleValue.h"
|