diff --git a/index.js b/index.js index 79c40c4..850a6ff 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ // マーカーの見た目の作成 var style = new ol.style.Style({ image: new ol.style.Icon({ - src: '/lib/img/osm_200x200.png', + src: 'lib/img/osm_200x200.png', anchor: [0.5, 0.5], scale: 0.2 }) diff --git a/index2.js b/index2.js index bb53c7b..d7fa900 100644 --- a/index2.js +++ b/index2.js @@ -25,7 +25,7 @@ // マーカーの見た目の作成 var style = new ol.style.Style({ image: new ol.style.Icon({ - src: '/lib/img/osm_200x200.png', + src: 'lib/img/osm_200x200.png', anchor: [0.5, 0.5], scale: 0.2 }),