summaryrefslogtreecommitdiffstats
path: root/kostely.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2016-09-05 00:27:05 +0200
committerMatěj Cepl <mcepl@cepl.eu>2016-09-05 00:39:47 +0200
commitddbc21f7ec44c7e4dfcaf8a3a4d6019ffcdc623e (patch)
tree55da75fabb020b75f4cd68efe6cb7c2c1f8eb323 /kostely.js
parente9458948a0d26ac303a93f7aeacd20060266ace6 (diff)
downloadkostely-ddbc21f7ec44c7e4dfcaf8a3a4d6019ffcdc623e.tar.gz
Move all image files to subdirectory
Diffstat (limited to 'kostely.js')
-rw-r--r--kostely.js6
1 files changed, 3 insertions, 3 deletions
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({