Ich habe meine Karte in einer Website, jetzt möchte ich die Farbe von Google Map zu dark
ändern, wie in Google Maps gegeben. Ich versuche, dies zu tun, aber nicht wissen, wo gegeben Stil Ich habe anwenden meinen Code von init Karte .Ich denke, ist, ich habe in diesemStyling von Google Karte
_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 ändern ich tue nach diesem
https://mapstyle.withgoogle.com/
btw habe ich schon gemacht :) mit derselben Lösung. Trotzdem danke, dass es jemandem helfen kann – Learner