File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Sources/MapLibreSwiftDSL/Style Layers Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -71,19 +71,6 @@ public struct SymbolStyleLayer: SourceBoundVectorStyleLayerDefinition {
71
71
return copy
72
72
}
73
73
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
-
87
74
/// Add an icon image that can be dynamic and use UIImages in your app, based on a feature property of the source.
88
75
/// For example, your feature could have a property called "icon-name". This name is then resolved against the key
89
76
/// in the mappings dictionary and used to find a UIImage to display on the map for that feature.
You can’t perform that action at this time.
0 commit comments