diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2016-09-05 00:27:05 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2016-09-05 00:39:47 +0200 |
commit | ddbc21f7ec44c7e4dfcaf8a3a4d6019ffcdc623e (patch) | |
tree | 55da75fabb020b75f4cd68efe6cb7c2c1f8eb323 | |
parent | e9458948a0d26ac303a93f7aeacd20060266ace6 (diff) | |
download | kostely-ddbc21f7ec44c7e4dfcaf8a3a4d6019ffcdc623e.tar.gz |
Move all image files to subdirectory
-rw-r--r-- | Ol_question_green.png | bin | 2462 -> 0 bytes | |||
-rw-r--r-- | img/Ol_icon_blue.png (renamed from Ol_icon_blue.png) | bin | 363 -> 363 bytes | |||
-rw-r--r-- | img/Ol_icon_red.png (renamed from Ol_icon_red.png) | bin | 283 -> 283 bytes | |||
-rw-r--r-- | img/Ol_question_green.png | bin | 0 -> 643 bytes | |||
-rw-r--r-- | kostely.js | 6 | ||||
-rw-r--r-- | kostely.tsv | 3 |
6 files changed, 5 insertions, 4 deletions
diff --git a/Ol_question_green.png b/Ol_question_green.png Binary files differdeleted file mode 100644 index 1e21177..0000000 --- a/Ol_question_green.png +++ /dev/null diff --git a/Ol_icon_blue.png b/img/Ol_icon_blue.png Binary files differindex 97d144a..97d144a 100644 --- a/Ol_icon_blue.png +++ b/img/Ol_icon_blue.png diff --git a/Ol_icon_red.png b/img/Ol_icon_red.png Binary files differindex 9836c7f..9836c7f 100644 --- a/Ol_icon_red.png +++ b/img/Ol_icon_red.png diff --git a/img/Ol_question_green.png b/img/Ol_question_green.png Binary files differnew file mode 100644 index 0000000..acd988d --- /dev/null +++ b/img/Ol_question_green.png @@ -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" |