Skip to content

Commit 6031320

Browse files
Add more icons to default icon set
1 parent 5a359dc commit 6031320

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Sources/MCMap/Library/CartographyIcon.swift

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,19 @@ public enum CartographyIcon: String, SendableCoded {
2121
case home, building, town, mecca, tent, lodge
2222

2323
// Transportation
24-
case bus, tram, walking, signpost
24+
case airplane, bus, car, ferry, sailboat, signpost, tram, walking
25+
26+
// Automotive
27+
case tire, horn
2528

2629
// Objects
2730
case duffleBag, book, medal, trophy, beachUmbrella, flag, flashlight, camera, bag, cart, dice, wrench, briefcase,
28-
bed, coffee, chair, fireplace, washer, syringe, pill, bandage, teddyBear, carrot, forkAndKnife
31+
bed, coffee, chair, fireplace, washer, syringe, pill, bandage, teddyBear, carrot, forkAndKnife, shield,
32+
gear, gyroscope, pianokeys, hammer, scroll, fan, balloon, cpu, memorychip, helmet, stroller, crown, stopwatch,
33+
clock
34+
35+
// Nature
36+
case sunrise, sunset, moon, wind, snowflake, rainbow, bolt, mountains, allergens, laurel
2937

3038
// Shapes
3139
case circle, square, rectangle, capsule, oval, triangle, diamond, octagon, hexagon, pentagon, seal

Sources/MCMap/SwiftUI/IconResolution.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ extension CartographyIcon {
5555
case .puzzlePiece: "puzzlepiece"
5656
case .theaterMasks: "theatermasks"
5757
case .coffee: "cup.and.heat.waves"
58+
case .mountains: "mountain.2"
5859
default: rawValue.dotCase
5960
}
6061
}

0 commit comments

Comments
 (0)