From 125b230d5c6bc95088e1c56c03090865f6271f48 Mon Sep 17 00:00:00 2001 From: fisch42 Date: Sat, 12 Apr 2014 22:15:15 +0200 Subject: [PATCH] Added OpenStreetMap tiles --- source/js/Core/Media/VMM.ExternalAPI.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/js/Core/Media/VMM.ExternalAPI.js b/source/js/Core/Media/VMM.ExternalAPI.js index 36acef0..e4bdf57 100644 --- a/source/js/Core/Media/VMM.ExternalAPI.js +++ b/source/js/Core/Media/VMM.ExternalAPI.js @@ -892,7 +892,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { map_attribution: { "stamen": "Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.", - "apple": "Map data © 2012 Apple, Imagery © 2012 Apple" + "apple": "Map data © 2012 Apple, Imagery © 2012 Apple", + "osm": "© OpenStreetMap contributors" }, map_providers: { @@ -932,6 +933,12 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { "minZoom": 3, "maxZoom": 16, "attribution": "stamen" + }, + "osm": { + "url": "//tile.openstreetmap.org/{z}/{x}/{y}.png", + "minZoom": 3, + "maxZoom": 18, + "attribution": "osm" } } }, @@ -1611,4 +1618,4 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { function onYouTubePlayerAPIReady() { trace("GLOBAL YOUTUBE API CALLED") VMM.ExternalAPI.youtube.onAPIReady(); -} \ No newline at end of file +}