Skip to content
Snippets Groups Projects
Commit 38b594ed authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: bad link for svg asset

parent 6108b436
No related branches found
No related tags found
1 merge request!31Recette
...@@ -12,7 +12,7 @@ export class MapService { ...@@ -12,7 +12,7 @@ export class MapService {
public createMarker(lat: number, lon: number, id: number, tooltip?: string): Marker { public createMarker(lat: number, lon: number, id: number, tooltip?: string): Marker {
const markerIcon = divIcon({ const markerIcon = divIcon({
className: null, className: null,
html: '<svg width="40" height="46"><use xlink:href="assets/img/sprite.svg#map-marker"></use></svg>', html: '<svg width="40" height="46"><use xlink:href="assets/ico/sprite.svg#map-marker"></use></svg>',
iconSize: [35, 41], iconSize: [35, 41],
iconAnchor: [13, 41], iconAnchor: [13, 41],
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment