summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Ol_question_green.pngbin2462 -> 0 bytes
-rw-r--r--img/Ol_icon_blue.png (renamed from Ol_icon_blue.png)bin363 -> 363 bytes
-rw-r--r--img/Ol_icon_red.png (renamed from Ol_icon_red.png)bin283 -> 283 bytes
-rw-r--r--img/Ol_question_green.pngbin0 -> 643 bytes
-rw-r--r--kostely.js6
-rw-r--r--kostely.tsv3
6 files changed, 5 insertions, 4 deletions
diff --git a/Ol_question_green.png b/Ol_question_green.png
deleted file mode 100644
index 1e21177..0000000
--- a/Ol_question_green.png
+++ /dev/null
Binary files differ
diff --git a/Ol_icon_blue.png b/img/Ol_icon_blue.png
index 97d144a..97d144a 100644
--- a/Ol_icon_blue.png
+++ b/img/Ol_icon_blue.png
Binary files differ
diff --git a/Ol_icon_red.png b/img/Ol_icon_red.png
index 9836c7f..9836c7f 100644
--- a/Ol_icon_red.png
+++ b/img/Ol_icon_red.png
Binary files differ
diff --git a/img/Ol_question_green.png b/img/Ol_question_green.png
new file mode 100644
index 0000000..acd988d
--- /dev/null
+++ b/img/Ol_question_green.png
Binary files differ
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({
diff --git a/kostely.tsv b/kostely.tsv
index 8d903d0..5345c21 100644
--- a/kostely.tsv
+++ b/kostely.tsv
@@ -62,7 +62,8 @@
"49.834444" "15.566944" "Pařížov" "Kostel sv. Maří Magdaleny" "other" "6.6" "0,-12"
"49.934444" "13.390833" "Plasy" "Kostel Nanebevzetí Panny Marie" "other" "6.6" "0,-12"
"48.928889" "16.077222" "Plaveč" "Rotunda Nanebevzetí Panny Marie" "rotunda" "6.6" "0,-12"
-"49.837778" "14.671389" "Poříčí nad Sázavou" "Kostel sv. Havla" "other" "6.6" "0,-12"
+"49.83641" "14.6751283" "Poříčí nad Sázavou" "Kostel sv. Petra a Pavla" "other" "6.6" "0,-12"
+"49.8403263" "14.6803391" "Poříčí nad Sázavou" "Kostel sv. Havla" "other" "6.6" "0,-12"
"50.016944" "13.401667" "Potvorov" "Kostel sv. Mikuláše" "other" "6.6" "0,-12"
"50.149444" "14.443333" "Praha - Dolní Chabry" "Kostel Stětí sv. Jana Křtitele" "other" "6.6" "0,-12"
"50.09125" "14.4025" "Praha - Hrad" "Bazilika sv. Jiří" "other" "6.6" "0,-12"