From b2369528914512687f78eabc485b81728dd39af3 Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Tue, 16 Jul 2024 02:41:40 +0900 Subject: [PATCH] Delete WIP layer that wasn't supposed to be committed --- .../MapLibreSwiftDSL/Style Layers/Fill.swift | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 Sources/MapLibreSwiftDSL/Style Layers/Fill.swift diff --git a/Sources/MapLibreSwiftDSL/Style Layers/Fill.swift b/Sources/MapLibreSwiftDSL/Style Layers/Fill.swift deleted file mode 100644 index f900d17..0000000 --- a/Sources/MapLibreSwiftDSL/Style Layers/Fill.swift +++ /dev/null @@ -1,40 +0,0 @@ -// import Foundation -// import MapLibre -// import InternalUtils -// import MapLibreSwiftMacros -// -//// TODO: background opacity property (and resolved image properties in general) -//// TODO: Generalization: color properties and numeric properties -// @MLNStyleProperty("backgroundColor", supportsInterpolation: true) -// @MLNStyleProperty("backgroundOpacity", supportsInterpolation: true) -// public struct FillLayer: SourceBoundStyleLayerDefinition { -// public let identifier: String -// public var insertionPosition: LayerInsertionPosition = .belowOthers -// public var isVisible: Bool = true -// public var maximumZoomLevel: Float? = nil -// public var minimumZoomLevel: Float? = nil -// -// public var source: StyleLayerSource -// -// public init(identifier: String, source: Source) { -// self.identifier = identifier -// self.source = .source(source) -// } -// -// public init(identifier: String, source: MLNSource) { -// self.identifier = identifier -// self.source = .mglSource(source) -// } -// -// public func makeStyleLayer(style: MLNStyle) -> StyleLayer { -// let styleSource = addSource(to: style) -// -// let result = MLNFillStyleLayer(identifier: identifier, source: source) -// -// // TODO: Macro-ize this -// result.backgroundColor = backgroundColor -// result.backgroundOpacity = backgroundOpacity -// -// return result -// } -// }