summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2016-07-13 18:32:45 +0200
committerChris Schlaeger <chris@linux.com>2016-07-13 18:32:45 +0200
commit45ddee8754feb0eaa3c071b6ce1dbb661371691e (patch)
tree7707b5ebd63dae207b4c80c38099a17f3d2dcbc1
parentcb5e4ebb1f079b6534ff5464b542e4022d645d11 (diff)
downloadpostrunner-45ddee8754feb0eaa3c071b6ce1dbb661371691e.zip
Fix: Switch tile source to OSM to work around MapQuest changes.
-rw-r--r--misc/postrunner/trackview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/postrunner/trackview.js b/misc/postrunner/trackview.js
index b461832..812ecd7 100644
--- a/misc/postrunner/trackview.js
+++ b/misc/postrunner/trackview.js
@@ -27,7 +27,7 @@ var pr_trackview_init = function(center_long, center_lat) {
}),
layers: [
new ol.layer.Tile({
- source: new ol.source.MapQuest({layer: 'osm'})
+ source: new ol.source.OSM()
}),
new ol.layer.Vector({
source: source_vector = new ol.source.Vector({