diff options
Diffstat (limited to 'kostely.js')
-rw-r--r-- | kostely.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,12 +8,12 @@ var vectorLayer = new ol.layer.Vector({ // blue is rotunda and red other church style: function(feat, res) { var icon = feat.get('icon'); - var img_src = "Ol_icon_red.png"; + var img_src = "img/Ol_icon_red.png"; if (icon == 'rotunda') { - img_src = "Ol_icon_blue.png"; + img_src = "img/Ol_icon_blue.png"; } else if (icon == 'question') { - img_src = "Ol_question_green.png"; + img_src = "img/Ol_question_green.png"; } var offset = feat.get('iconOffset'); return [new ol.style.Style({ |