summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2016-09-04 19:40:41 +0200
committerMatěj Cepl <mcepl@cepl.eu>2016-09-04 19:40:41 +0200
commit2dbffff0e001c9bed5c9c30e22765ee94105248d (patch)
tree101e3338067f31a5b730ce6a7fd3fee01afd292a
parentab1ffc87f4ee9cd68992b6e69c3e8335f792ba96 (diff)
downloadkostely-2dbffff0e001c9bed5c9c30e22765ee94105248d.tar.gz
Update to the current locations of scripts
-rw-r--r--index.html2
-rw-r--r--kostely.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/index.html b/index.html
index 964ef0f..6f62515 100644
--- a/index.html
+++ b/index.html
@@ -9,7 +9,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.7.0/ol-debug.js"
type="text/javascript">
</script>
- <script src="https://rawgit.com/tmcw/csv2geojson/gh-pages/csv2geojson.js"
+ <script src="https://npmcdn.com/csv2geojson@latest/csv2geojson.js"
type="text/javascript">
</script>
</head>
diff --git a/kostely.js b/kostely.js
index 0a87da9..89a2a10 100644
--- a/kostely.js
+++ b/kostely.js
@@ -1,5 +1,6 @@
var vectorLayer = new ol.layer.Vector({
title: "Románské kostely",
+ projection: "EPSG:3857",
source: new ol.source.Vector({
format: new ol.format.GeoJSON()
}),