summaryrefslogtreecommitdiff
path: root/platform/ios/src/Mapbox.h
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-09-01 13:26:09 -0700
committerJesse Bounds <jesse@rebounds.net>2016-09-02 14:48:37 -0700
commit08f55af91491033c3da2b5a3de1e7bcb900b8964 (patch)
treee60d7a48e3440736054afe01b6a429dba8241bff /platform/ios/src/Mapbox.h
parentad095e458db7eee4085ec8be2528cdfa257371fd (diff)
downloadqtlocation-mapboxgl-08f55af91491033c3da2b5a3de1e7bcb900b8964.tar.gz
[ios, macos] Use NSDictionary for geojson source options.
This removes a previous implementation of geojson options that used a new type to transfer the data around. Added in its place is an options API that takes an NSDictionary that works similarly to NSAttributedString and many other Cocoa APIs that take options. The options parser now expects the developer to send values of the type noted in the documentation and it simply converts the NSNumber to the correct type (integer, double, or bool) for mbgl. However, an exception is raised if the value is not an NSNumber.
Diffstat (limited to 'platform/ios/src/Mapbox.h')
-rw-r--r--platform/ios/src/Mapbox.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/ios/src/Mapbox.h b/platform/ios/src/Mapbox.h
index 06fdbe20f0..24925d169c 100644
--- a/platform/ios/src/Mapbox.h
+++ b/platform/ios/src/Mapbox.h
@@ -43,7 +43,6 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
#import "MGLSource.h"
#import "MGLVectorSource.h"
#import "MGLGeoJSONSource.h"
-#import "MGLGeoJSONOptions.h"
#import "MGLRasterSource.h"
#import "MGLTilePyramidOfflineRegion.h"
#import "MGLTypes.h"