summaryrefslogtreecommitdiffstats
path: root/kostely.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-03-05 11:37:29 +0100
committerMatěj Cepl <mcepl@cepl.eu>2018-03-05 11:40:16 +0100
commit8f95e9c6812ab371c49e0b0dc984f6bcaa1c892c (patch)
treea1e5f57c445dadfd457f89628210edec84b911c4 /kostely.js
parent18f87231f8eb35391726b8169e3dd95c75d3cc3a (diff)
downloadtolerancni-master.tar.gz
Zárodek datHEADmaster
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 5af10ec..5443ac9 100644
--- a/kostely.js
+++ b/kostely.js
@@ -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";