Hi Daniel Thanks for the quick response.
I went ahead and found the hotspots.js file, but I have minimal coding skills, but after analyzing the code, i found that i can edit the styles within the .mapOptions - but it's not like the code i found on google.
If you would help me implement the style, that would be great and I wouldn't mind paying extra for the guidance, as of now I know I would have to add some lines here:
setMapOptions: function() {
var mapOptions = {
disableDefaultUI: this.googleMapsDisableDefaultUI(),
navigationControl: this.googleMapsEnableNavigationControl(),
navigationControlOptions: {
'style': this.googleMapsControlStyle(),
'position': this.googleMapsNavigationControl()
},
scrollwheel: true
};
this.map.getMap().setOptions(mapOptions);
this.setMapType();
},
but I need to add the styles to it, and this is what I have came up with:
var mapStyle = [
{
featureType: "poi.park",
stylers: [
{ hue: "#00d4ff" },
{ visibility: "simplified" },
{ lightness: 22 }
]
},{
featureType: "administrative.country",
stylers: [
{ visibility: "simplified" }
]
},{
featureType: "administrative.province",
stylers: [
{ visibility: "simplified" }
]
},{
featureType: "administrative.locality",
stylers: [
{ visibility: "off" }
]
},{
featureType: "water",
stylers: [
{ saturation: 43 },
{ hue: "#00e5ff" },
{ lightness: 84 }
]
},{
},{
featureType: "landscape",
elementType: "geometry",
stylers: [
{ hue: "#00d4ff" },
{ lightness: -2 },
{ saturation: 36 }
]
},{
featureType: "road",
stylers: [
{ hue: "#00c3ff" },
{ lightness: 34 },
{ saturation: -41 }
]
},{
featureType: "administrative.country",
stylers: [
{ hue: "#00aaff" },
{ saturation: 18 },
{ lightness: 30 }
]
},{
featureType: "poi.attraction",
stylers: [
{ hue: "#00bbff" }
]
},{
featureType: "administrative.province",
stylers: [
{ visibility: "off" }
]
},{
featureType: "road",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
},{
featureType: "road",
elementType: "geometry",
stylers: [
{ visibility: "simplified" }
]
},{
featureType: "transit.station.airport",
stylers: [
{ hue: "#00c3ff" },
{ saturation: 31 },
{ lightness: 39 }
]
},{
featureType: "poi",
stylers: [
{ hue: "#00bbff" },
{ saturation: 9 },
{ visibility: "on" },
{ lightness: 55 }
]
},{
featureType: "landscape.man_made",
stylers: [
{ lightness: 32 }
]
},{
featureType: "road",
stylers: [
{ lightness: 13 }
]
},{
featureType: "transit.line",
stylers: [
{ visibility: "off" }
]
},{
featureType: "transit.station",
stylers: [
{ visibility: "off" }
]
},{
featureType: "administrative.neighborhood",
stylers: [
{ saturation: 17 },
{ lightness: 26 },
{ hue: "#00b2ff" }
]
},{
featureType: "landscape.natural",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
},{
}
];
var myOptions = {
center: new google.maps.LatLng(mapOpts.centreLat, mapOpts.centreLong),
zoom: mapOpts.zoom,
styles: mapStyle,
panControl: false,
zoomControl: false,
mapTypeControl: false,
scaleControl: false,
streetViewControl: false,
overviewMapControl: false,
mapTypeId: google.maps.MapTypeId.ROADMAP,
maxZoom:mapOpts.zoom,
minZoom:mapOpts.zoom,
scrollwheel: false
};
var map = new google.maps.Map(document.getElementById("map"), myOption
Can you give me an idea, of what I need to add into the file, or what I should remove? this would be a great lesson for the community and i am sure this will be of interest to many hotspots users!
thanks