Skip to content

Commit

Permalink
Update storymap.js; changed iconURL values to match new img filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaton authored Nov 1, 2024
1 parent 426ee12 commit b24f7fd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/storymap.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,38 +400,38 @@ export class StoryMap {
};

this.councilFireIcon = this.L.icon({
iconUrl: '/assets/img/stories/council-fire.webp',
iconUrl: '/assets/img/stories/council_fire.webp',
iconSize: [22, 22],
iconAnchor: [11, 21],
popupAnchor: [-3, -20]
});

this.indigenousSettlementIcon = this.L.icon({
iconUrl: '/assets/img/stories/circle_turquoise.webp',
iconUrl: '/assets/img/stories/settlement_indig.webp',
iconSize: [20, 20],
shadowSize: [20, 20],
iconAnchor: [10, 19],
shadowAnchor: [10, 19],
popupAnchor: [-3, -20]
});
this.europeanSettlementIcon = this.L.icon({
iconUrl: '/assets/img/stories/circle_purple.webp',
iconUrl: '/assets/img/stories/settlement_euro.webp',
iconSize: [20, 20],
shadowSize: [20, 20],
iconAnchor: [10, 19],
shadowAnchor: [10, 19],
popupAnchor: [-3, -20]
})
this.indigenousPlacenameIcon = this.L.icon({
iconUrl: '/assets/img/stories/cross_turquoise.webp',
iconUrl: '/assets/img/stories/placename_indig.webp',
iconSize: [20, 20],
shadowSize: [20, 20],
iconAnchor: [10, 19],
shadowAnchor: [10, 19],
popupAnchor: [-3, -20]
});
this.europeanPlacenameIcon = this.L.icon({
iconUrl: '/assets/img/stories/cross_purple.webp',
iconUrl: '/assets/img/stories/placename_euro.webp',
iconSize: [20, 20],
shadowSize: [20, 20],
iconAnchor: [10, 19],
Expand Down Expand Up @@ -1187,11 +1187,11 @@ export class StoryMap {
layer.setStyle(this.europeanAnnoStyle);
break;
case 2:
// Red poly
// Pale green solid fill poly
layer.setStyle(this.indigenousAreaStyle);
break;
case 3:
//Grey poly (Haudenasaunee)
//Green hatched poly (Haudenasaunee)
layer.setStyle(this.haudenosauneeAreaStyle);
break;
default:
Expand Down

0 comments on commit b24f7fd

Please sign in to comment.