-2
私はウェブサイトで自分のマップを嫌っていましたが、今私はGoogleマップの色をdark
に変更したいと考えています。私は私がやっているこのGoogleマップのスタイリング
_initMap: function() {
var self= this, options = this.options,
centerPosition = new google.maps.LatLng(options.latitude, options.longitude);
/**
* map
* @type {google.maps.Map}
*/
this.map = new google.maps.Map(this.element[0], {
zoom: parseFloat(options.zoom_level),
center: centerPosition,
minZoom: options.minZoom,
maxZoom: options.maxZoom
});
this.storePopupTmpl = mageTemplate($(options.storePopupTemplate).html());
/**
* infor windopw
* @type {google.maps.InfoWindow}
*/
this.infowindow = new google.maps.InfoWindow({
//maxWidth: 250,
//disableAutoPan: true,
maxWidth: 450,
minWidth: 350,
});
EDITに変更する必要が考える.Iのinitマップの私のコードがある を適用する必要が与えられたスタイルを知って、これをやろうとしたがいけないのです
https://mapstyle.withgoogle.com/
ところで私はすでに同じ溶液で:)行っています。それでも誰かを助けることができるかもしれない – Learner