Skip to content

Commit 8d52b3a

Browse files
Merge pull request #31 from ut-code/fixIconpath
自販機のマーカーのアイコンのパスを変更
2 parents 6b5e29a + 4135216 commit 8d52b3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ wsbtn.addEventListener("click", () => {
136136
});
137137
// 自動販売機のボタンの機能実装
138138
const orangeIcon = L.icon({
139-
iconUrl: "/src/assets/marker-icon-orange.png",
139+
iconUrl: "https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-orange.png",
140140
iconSize: [25,41],
141141
iconAnchor: [12.5,41]
142142
});

0 commit comments

Comments
 (0)