diff options
Diffstat (limited to 'kostely.js')
-rw-r--r-- | kostely.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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({ |