From ddbc21f7ec44c7e4dfcaf8a3a4d6019ffcdc623e Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 5 Sep 2016 00:27:05 +0200 Subject: Move all image files to subdirectory --- kostely.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kostely.js') diff --git a/kostely.js b/kostely.js index d5e6397..91e4184 100644 --- a/kostely.js +++ b/kostely.js @@ -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({ -- cgit