From d700d0c98a7922b656b397a992c85057542adec9 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 26 Nov 2013 11:45:32 -0600 Subject: [PATCH] remove lowlevel default map type and adjust to use Google Maps terrain instead of Stamen for default --- source/js/Core/Media/VMM.ExternalAPI.js | 4 ++-- source/js/VMM.Timeline.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/js/Core/Media/VMM.ExternalAPI.js b/source/js/Core/Media/VMM.ExternalAPI.js index 4abe9f9..a75b8cc 100644 --- a/source/js/Core/Media/VMM.ExternalAPI.js +++ b/source/js/Core/Media/VMM.ExternalAPI.js @@ -380,7 +380,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { googlemaps: { - maptype: "TERRAIN", + maptype: "TERRAIN", // see also below for default if this is a google type setMapType: function(d) { if (d != "") { @@ -510,7 +510,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { layer = VMM.ExternalAPI.googlemaps.maptype; } } else { - layer = "toner"; + layer = google.maps.MapTypeId['TERRAIN']; } diff --git a/source/js/VMM.Timeline.js b/source/js/VMM.Timeline.js index 63dfa7c..ab8b430 100755 --- a/source/js/VMM.Timeline.js +++ b/source/js/VMM.Timeline.js @@ -62,7 +62,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { type: "timeline", touch: false, orientation: "normal", - maptype: "toner", + maptype: "", version: "2.x", preload: 4, current_slide: 0,