summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-16 20:26:28 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-16 20:26:28 -0700
commit563fed5ca93273342366c54be8f619c12b514417 (patch)
treebf7052c3835e9d0f13984a4c0ecd994e397c7b4a /gyp
parent9ceda19363848d18db3aaf3edcbbada7dc96dd05 (diff)
downloadqtlocation-mapboxgl-563fed5ca93273342366c54be8f619c12b514417.tar.gz
Properly fail to load the map
A typo in a selector literal meant that `-[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:]` would never be sent to delegates even if `MGLMapView` had called it. Along for the ride, create a proper `NSError` to pass into that callback, and an error domain for that error.
Diffstat (limited to 'gyp')
-rw-r--r--gyp/platform-ios.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi
index 7e91648c40..0e200f5e1d 100644
--- a/gyp/platform-ios.gypi
+++ b/gyp/platform-ios.gypi
@@ -35,6 +35,7 @@
'../platform/ios/MGLUserLocationAnnotationView.h',
'../platform/ios/MGLUserLocationAnnotationView.m',
'../include/mbgl/ios/MGLTypes.h',
+ '../platform/ios/MGLTypes.m',
'../platform/ios/NSBundle+MGLAdditions.h',
'../platform/ios/NSBundle+MGLAdditions.m',
'../platform/ios/NSException+MGLAdditions.h',