[ios, macos] Fixed iosbench build
Fixed a stale include in iosbench. MGLMapView(Private) forward-declares mbgl::Map instead of including mbgl.hpp, which iosbench has no access to.
This commit is contained in:
committed by
Minh Nguyễn
parent
b134215895
commit
a66b1f7599
@@ -5,6 +5,7 @@
|
||||
#import "MGLTileSource_Private.h"
|
||||
#import "NSURL+MGLAdditions.h"
|
||||
|
||||
#include <mbgl/mbgl.hpp>
|
||||
#include <mbgl/style/sources/raster_source.hpp>
|
||||
|
||||
const MGLTileSourceOption MGLTileSourceOptionTileSize = @"MGLTileSourceOptionTileSize";
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#import "NSURL+MGLAdditions.h"
|
||||
|
||||
#include <mbgl/mbgl.hpp>
|
||||
#include <mbgl/style/sources/geojson_source.hpp>
|
||||
|
||||
const MGLShapeSourceOption MGLShapeSourceOptionClustered = @"MGLShapeSourceOptionClustered";
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#import "MGLStyleLayer.h"
|
||||
#import "MGLStyleValue_Private.h"
|
||||
|
||||
#include <mbgl/mbgl.hpp>
|
||||
#include <mbgl/style/layer.hpp>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#import "MGLTileSource_Private.h"
|
||||
#import "NSURL+MGLAdditions.h"
|
||||
|
||||
#include <mbgl/mbgl.hpp>
|
||||
#include <mbgl/style/sources/vector_source.hpp>
|
||||
|
||||
@interface MGLVectorSource ()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#import "MBXBenchAppDelegate.h"
|
||||
|
||||
#import <Mapbox/Mapbox.h>
|
||||
#import "MGLMapView_Internal.h"
|
||||
#import "MGLMapView_Private.h"
|
||||
|
||||
#include "locations.hpp"
|
||||
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
#import <Mapbox/Mapbox.h>
|
||||
|
||||
#include <mbgl/mbgl.hpp>
|
||||
namespace mbgl {
|
||||
class Map;
|
||||
}
|
||||
|
||||
/// Minimum size of an annotation’s accessibility element.
|
||||
extern const CGSize MGLAnnotationAccessibilityElementMinimumSize;
|
||||
|
||||
@interface MGLMapView (Internal)
|
||||
@interface MGLMapView (Private)
|
||||
|
||||
/// Currently shown popover representing the selected annotation.
|
||||
@property (nonatomic) UIView<MGLCalloutView> *calloutViewForSelectedAnnotation;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#import "MGLMapView.h"
|
||||
|
||||
#import <mbgl/mbgl.hpp>
|
||||
namespace mbgl {
|
||||
class Map;
|
||||
}
|
||||
|
||||
@interface MGLMapView (Private)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user