summaryrefslogtreecommitdiffstats
path: root/kostely.js
diff options
context:
space:
mode:
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({