Skip to content

Commit 43b2fff

Browse files
committed
removing commented out implementation
1 parent 5b3a19d commit 43b2fff

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Sources/MapLibreSwiftDSL/Style Layers/Symbol.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,6 @@ public struct SymbolStyleLayer: SourceBoundVectorStyleLayerDefinition {
7171
return copy
7272
}
7373

74-
// FIXME: This appears to be broken upstream; waiting for a new release
75-
// public func iconImage(attribute: String, mappings: [AnyHashable: UIImage], default defaultImage: UIImage) -> Self
76-
// {
77-
// return modified(self) { it in
78-
// it.iconImageName = NSExpression(forMLNMatchingKey: NSExpression(forConstantValue: attribute),
79-
// in: Dictionary(uniqueKeysWithValues: mappings.map({ (k, v) in
80-
// (NSExpression(forConstantValue: k), NSExpression(forConstantValue: v.sha256()))
81-
// })),
82-
// default: NSExpression(forConstantValue: defaultImage.sha256()))
83-
// it.iconImages = mappings.values + [defaultImage]
84-
// }
85-
// }
86-
8774
/// Add an icon image that can be dynamic and use UIImages in your app, based on a feature property of the source.
8875
/// For example, your feature could have a property called "icon-name". This name is then resolved against the key
8976
/// in the mappings dictionary and used to find a UIImage to display on the map for that feature.

0 commit comments

Comments
 (0)