summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2016-09-07 17:40:18 +0200
committerMatěj Cepl <mcepl@cepl.eu>2016-09-07 17:40:18 +0200
commit55afc62faf495d5cfd858043717722f2bfa32a89 (patch)
tree26f78f5015c8e0baca447c28ae9615b38dfca2b1
parentddbc21f7ec44c7e4dfcaf8a3a4d6019ffcdc623e (diff)
downloadkostely-55afc62faf495d5cfd858043717722f2bfa32a89.tar.gz
Přidej několik dalších kostelů.
-rw-r--r--kostely.js3
-rw-r--r--kostely.tsv3
2 files changed, 4 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({
diff --git a/kostely.tsv b/kostely.tsv
index 5345c21..e01bd53 100644
--- a/kostely.tsv
+++ b/kostely.tsv
@@ -56,9 +56,11 @@
"49.168333" "13.508056" "Mouřenec u Annína" "Kostel sv. Mořice" "other" "6.6" "0,-12"
"48.895946" "16.60003" "Mušov" "Kostel sv. Linharta" "other" "6.6" "0,-12"
"49.142082" "16.554417" "Nebovidy" "Kostel sv. Kříže" "other" "6.6" "0,-12"
+"49.615073" "14.698643" "Neustupov" "Kostel Nanebevzetí Panny Marie" "other" "6.6" "0,-12"
"49.67" "14.633056" "Olbramovice" "Kostel Všech svatých " "other" "6.6" "0,-12"
"49.168286" "16.450199" "Omice" "Kostel sv. Jakuba Staršího" "other" "6.6" "0,-12"
"49.126698" "16.334834" "Oslavany" "Kostel Matky Boží" "other" "6.6" "0,-12"
+"49.692956" "14.685055" "Ouběnice" "Kostel sv. Markéty" "other" "6.6" "0,-12"
"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"
@@ -108,6 +110,7 @@
"49.498333" "13.835278" "Újezdec" "Kostel sv. Voršily" "other" "6.6" "0,-12"
"50.403889" "14.8575" "Vinec" "Kostel sv. Mikuláše" "other" "6.6" "0,-12"
"49.249167" "13.739722" "Volenice" "Kostel sv. Petra a Pavla" "other" "6.6" "0,-12"
+"49.8530387" "14.7769065" "Vranov" "Kostel sv. Václava" "other" "6.6" "0,-12"
"50.179167" "13.379722" "Vroutek" "Kostel sv. Jakuba Většího" "other" "6.6" "0,-12"
"49.943056" "15.178611" "Vysoká" "Kostel Navštívení Panny Marie" "other" "6.6" "0,-12"
"49.768639" "16.875583" "Vyšehorky" "Kostel Všech svatých" "other" "6.6" "0,-12"