Skip to content

Commit

Permalink
Added functionality to MapViewContentBuilder to handle more layer logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Archdoog committed Dec 21, 2023
1 parent 57504cc commit 10b26f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Foundation

public protocol StyleLayerCollection {

// associatedtype Layer : StyleLayerDefinition

@MapViewContentBuilder var layers: [StyleLayerDefinition] { get }
}
2 changes: 0 additions & 2 deletions Sources/MapLibreSwiftUI/MapView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ public struct MapView: UIViewRepresentable {
}
}



struct MapView_Previews: PreviewProvider {
static var previews: some View {
let demoTilesURL = URL(string: "https://demotiles.maplibre.org/style.json")!
Expand Down

0 comments on commit 10b26f3

Please sign in to comment.