up img link with www

This commit is contained in:
Tykayn 2022-12-11 15:18:02 +01:00 committed by tykayn
parent e563f08021
commit 4129031aaa
1 changed files with 2 additions and 2 deletions

View File

@ -992,7 +992,7 @@ function displayPointsFromApi(points) {
console.log('layer', layer);
var label = L.marker(layer._latlng, {
icon: L.divIcon({
iconUrl : 'https://cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags),
iconUrl : 'https://www.cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags),
className: 'label ' + makeCssClassFromTags(feature.properties.tags),
// html : html,
iconSize: ['auto', 'auto'],
@ -1000,7 +1000,7 @@ function displayPointsFromApi(points) {
}).addTo(map);
var myIcon = L.icon({
iconUrl : 'https://cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags),
iconUrl : 'https://www.cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags),
iconSize : [iconSiZePx, iconSiZePx],
iconAnchor : [iconSiZePx / 2, iconSiZePx / 2],
popupAnchor: [iconSiZePx / 2, iconSiZePx / 2],