diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2018-03-05 11:37:29 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-03-05 11:40:16 +0100 |
commit | 8f95e9c6812ab371c49e0b0dc984f6bcaa1c892c (patch) | |
tree | a1e5f57c445dadfd457f89628210edec84b911c4 /kostely.js | |
parent | 18f87231f8eb35391726b8169e3dd95c75d3cc3a (diff) | |
download | tolerancni-master.tar.gz |
Diffstat (limited to 'kostely.js')
-rw-r--r-- | kostely.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,9 +6,9 @@ var vectorLayer = new ol.layer.Vector({ }), style: function(feat, res) { var icon = feat.get('icon'); - var img_src = "img/Ol_icon_red.png"; - if (icon == 'rotunda') { - img_src = "img/Ol_icon_blue.png"; + var img_src = "img/Ol_icon_blue.png"; + if (icon == 'zboreny') { + img_src = "img/Ol_icon_red.png"; } else if (icon == 'question') { img_src = "img/Ol_question_green.png"; |