image url naming sanitised
This commit is contained in:
parent
100a3c71a8
commit
644c097f0b
5 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ export class TrailMapComponent implements OnInit, AfterViewInit {
|
|||
private api: ApiService,
|
||||
private modalService: BsModalService,
|
||||
) {
|
||||
this.assocLogo = 'assets/img/association/' + this.assocMap + '_logo.png';
|
||||
this.assocLogo = 'assets/img/association/' + this.assocMap + '-logo.png';
|
||||
}
|
||||
|
||||
ngOnInit(): void { }
|
||||
|
@ -48,6 +48,7 @@ export class TrailMapComponent implements OnInit, AfterViewInit {
|
|||
public onMarkerClick(clickedMarker, template: TemplateRef<any>) {
|
||||
console.log(clickedMarker);
|
||||
this.clickedMarker = clickedMarker;
|
||||
this.assocLogo = 'assets/img/association/' + this.assocMap + '-logo.png';
|
||||
this.openModal(template);
|
||||
}
|
||||
|
||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
BIN
src/assets/img/association/esta-map-pin.png
Normal file
BIN
src/assets/img/association/esta-map-pin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 260 KiB |
Reference in a new issue