up img link with www
This commit is contained in:
parent
e563f08021
commit
4129031aaa
|
@ -992,7 +992,7 @@ function displayPointsFromApi(points) {
|
||||||
console.log('layer', layer);
|
console.log('layer', layer);
|
||||||
var label = L.marker(layer._latlng, {
|
var label = L.marker(layer._latlng, {
|
||||||
icon: L.divIcon({
|
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),
|
className: 'label ' + makeCssClassFromTags(feature.properties.tags),
|
||||||
// html : html,
|
// html : html,
|
||||||
iconSize: ['auto', 'auto'],
|
iconSize: ['auto', 'auto'],
|
||||||
|
@ -1000,7 +1000,7 @@ function displayPointsFromApi(points) {
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
var myIcon = L.icon({
|
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],
|
iconSize : [iconSiZePx, iconSiZePx],
|
||||||
iconAnchor : [iconSiZePx / 2, iconSiZePx / 2],
|
iconAnchor : [iconSiZePx / 2, iconSiZePx / 2],
|
||||||
popupAnchor: [iconSiZePx / 2, iconSiZePx / 2],
|
popupAnchor: [iconSiZePx / 2, iconSiZePx / 2],
|
||||||
|
|
Loading…
Reference in New Issue