summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/app/MBXViewController.m')
-rw-r--r--platform/ios/app/MBXViewController.m25
1 files changed, 5 insertions, 20 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 0f617188b9..3cd92fe0e4 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -1593,25 +1593,10 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
styleNames = @[
- @"Streets",
- @"Outdoors",
- @"Light",
- @"Dark",
- @"Satellite",
- @"Satellite Streets",
- @"Traffic Day",
- @"Traffic Night",
+ @"Heatmap"
];
styleURLs = @[
- [MGLStyle streetsStyleURL],
- [MGLStyle outdoorsStyleURL],
- [MGLStyle lightStyleURL],
- [MGLStyle darkStyleURL],
- [MGLStyle satelliteStyleURL],
- [MGLStyle satelliteStreetsStyleURL],
- [NSURL URLWithString:@"mapbox://styles/mapbox/traffic-day-v2"],
- [NSURL URLWithString:@"mapbox://styles/mapbox/traffic-night-v2"],
-
+ [NSURL URLWithString:@"heatmap.json"]
];
NSAssert(styleNames.count == styleURLs.count, @"Style names and URLs don’t match.");
@@ -1629,9 +1614,9 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
}
}
}
- NSAssert(numStyleURLMethods == styleNames.count,
- @"MGLStyle provides %u default styles but iosapp only knows about %lu of them.",
- numStyleURLMethods, (unsigned long)styleNames.count);
+// NSAssert(numStyleURLMethods == styleNames.count,
+// @"MGLStyle provides %u default styles but iosapp only knows about %lu of them.",
+// numStyleURLMethods, (unsigned long)styleNames.count);
});
self.styleIndex = (self.styleIndex + 1) % styleNames.count;