Open SymbolsOpen Symbols
map-pin, from Heroicons

map-pin

From Heroicons · heroicons.map-pin

OutlineFill

In Xcode, drag the template into an asset catalog, where it appears as heroicons.map-pin.

Image("heroicons.map-pin")
    .font(.title)
    .fontWeight(.semibold)

Label("Map pin", image: "heroicons.map-pin")
let configuration = UIImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = UIImage(named: "heroicons.map-pin", in: nil, with: configuration)
let configuration = NSImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = NSImage(named: "heroicons.map-pin")?
    .withSymbolConfiguration(configuration)
License
MIT License, from Heroicons 2.2.0 · All of Heroicons on GitHub
Weights
Generated by SymbolKit.

map-pin in other libraries

More from Heroicons