Skip to content

Commit fa1b643

Browse files
committed
Restored Maki image names
Fixed a regression introduced in #41.
1 parent 6759a16 commit fa1b643

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MapboxGeocoder/MBPlacemark.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@ public class GeocodedPlacemark: Placemark {
415415
return categoryList?.componentsSeparatedByString(", ")
416416
}
417417

418+
public override var imageName: String? {
419+
return propertiesJSON["maki"] as? String
420+
}
421+
418422
override var formattedAddressLines: [String] {
419423
let lines = qualifiedName.componentsSeparatedByString(", ")
420424
return scope == .Address ? lines : Array(lines.suffixFrom(1))

0 commit comments

Comments
 (0)