Skip to content

Commit

Permalink
fix anchor for map
Browse files Browse the repository at this point in the history
  • Loading branch information
kinxiel committed Jun 4, 2023
1 parent f686428 commit 2dd532b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ onMounted(() => {
let title = marker.title
? `<div class="map-event--label"><div class="map-event--title">${marker.title}</div>${marker.subtitle ? `<div class="map-event--info">${marker.subtitlePrefix ? `<strong>${marker.subtitlePrefix}</strong> ` : ""}${marker.subtitle}</div></div>` : ""}`
: "";
const html = `<img src="/_nuxt/assets/map/marker/${marker.type}.svg" class="map-event--image">${title}`;
const html = `<img src="/images/marker/${marker.type}.svg" class="map-event--image">${title}`;
return L.marker([marker.lat, marker.lng], {
icon: L.divIcon({
iconAnchor: [37, 118],
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 2dd532b

Please sign in to comment.