Hello and thank you for your help.
How can i enable the google map controls in the google_spreadsheet.html example?
My code isn't working. I didn't changed anything in the js. In the timemap.js controls are enabled-
Sorry for this dumb question :-)
var tm;
$(function() {
// make a custom map style
var styledMapType = new google.maps.StyledMapType([
{ stylers: [ { "saturation": -100 } ] },{ "featureType": "water", "stylers": [ { "gamma": 1.67 }, { "lightness": 27 } ] },{ "elementType": "geometry", "stylers": [ { "gamma": 1.31 }, { "lightness": 12 } ] },{ "featureType": "administrative", "elementType": "labels", "stylers": [ { "lightness": 51 }, { "gamma": 0.94 } ] },{ },{ "featureType": "road", "elementType": "labels", "stylers": [ { "lightness": 57 } ] },{ "featureType": "poi", "elementType": "labels", "stylers": [ { "lightness": 42 } ] } ],
{
name: "white"
});
tm = TimeMap.init({
mapId: "map", // Id of map div element (required)
timelineId: "timeline", // Id of timeline div element (required)
options: {
mapTypeControl: true,
panControl: true,
zoomControl: true,
scaleControl: true,