From 563fed5ca93273342366c54be8f619c12b514417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sat, 16 May 2015 20:26:28 -0700 Subject: 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. --- gyp/platform-ios.gypi | 1 + 1 file changed, 1 insertion(+) (limited to 'gyp') 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', -- cgit v1.2.1