summaryrefslogtreecommitdiffstats
path: root/kostely.js
diff options
context:
space:
mode:
Diffstat (limited to 'kostely.js')
-rw-r--r--kostely.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/kostely.js b/kostely.js
index 91e4184..7dba9d2 100644
--- a/kostely.js
+++ b/kostely.js
@@ -4,8 +4,6 @@ var vectorLayer = new ol.layer.Vector({
source: new ol.source.Vector({
format: new ol.format.GeoJSON()
}),
- // I am not sure about the meaning of icons. I think,
- // blue is rotunda and red other church
style: function(feat, res) {
var icon = feat.get('icon');
var img_src = "img/Ol_icon_red.png";
@@ -15,6 +13,7 @@ var vectorLayer = new ol.layer.Vector({
else if (icon == 'question') {
img_src = "img/Ol_question_green.png";
}
+ // FIXME je offset k něčemu dobrý?
var offset = feat.get('iconOffset');
return [new ol.style.Style({
image: new ol.style.Icon({