Skip to content

Commit

Permalink
Mapbox Standard Style (3D Buildings)
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed Dec 27, 2023
1 parent 55e7efb commit ff2f99c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MacMaps/MapContentViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class MapContentViewModel: ObservableObject {
enum MapboxStyles: String, CaseIterable, Identifiable {
var id: Self { self }

case standard = "Standard"
case streets = "Streets"
case outdoors = "Outdoors"
case light = "Light"
Expand All @@ -65,6 +66,8 @@ class MapContentViewModel: ObservableObject {

var styleURL: String {
switch self {
case .standard:
return "mapbox://styles/mapbox/standard"
case .streets:
return "mapbox://styles/mapbox/streets-v11"
case .outdoors:
Expand Down

0 comments on commit ff2f99c

Please sign in to comment.