Browse Source

remove lowlevel default map type and adjust to use Google Maps terrain instead of Stamen for default

pull/536/head
Joe Germuska 11 years ago
parent
commit
d700d0c98a
  1. 4
      source/js/Core/Media/VMM.ExternalAPI.js
  2. 2
      source/js/VMM.Timeline.js

4
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'];
}

2
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,

Loading…
Cancel
Save