[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:
Minh Nguyễn
2016-12-19 00:24:20 -08:00
committed by Minh Nguyễn
parent b134215895
commit a66b1f7599
7 changed files with 12 additions and 4 deletions

View File

@@ -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";

View File

@@ -7,6 +7,7 @@
#import "NSURL+MGLAdditions.h"
#include <mbgl/mbgl.hpp>
#include <mbgl/style/sources/geojson_source.hpp>
const MGLShapeSourceOption MGLShapeSourceOptionClustered = @"MGLShapeSourceOptionClustered";

View File

@@ -3,6 +3,7 @@
#import "MGLStyleLayer.h"
#import "MGLStyleValue_Private.h"
#include <mbgl/mbgl.hpp>
#include <mbgl/style/layer.hpp>
NS_ASSUME_NONNULL_BEGIN

View File

@@ -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 ()

View File

@@ -3,7 +3,7 @@
#import "MBXBenchAppDelegate.h"
#import <Mapbox/Mapbox.h>
#import "MGLMapView_Internal.h"
#import "MGLMapView_Private.h"
#include "locations.hpp"

View File

@@ -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;

View File

@@ -1,6 +1,8 @@
#import "MGLMapView.h"
#import <mbgl/mbgl.hpp>
namespace mbgl {
class Map;
}
@interface MGLMapView (Private)