Google map ROADMAP is black overlay

stardot's picture
stardot
Thu, 04/16/2015 - 17:49
#1
Google map ROADMAP is black overlay

I dont like the black overlay of the google "roadmap" for contact and footer. How and where do you change that overlay?

cindy's picture
cindy
Fri, 04/17/2015 - 00:27

Hi,

Please go to sites/all/themes/md_phoenix/js/front
open file googleMapInit and search to this following code to change the color 

var styles = [
{
"featureType": "landscape",
"stylers": [
{ "visibility": "on" },
{ "color": "#282828" }
]
},{
"featureType": "poi",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "road",
"stylers": [
{ "color": "#383838" }
]
},{
"elementType": "geometry.stroke",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "poi",
"elementType": "labels.text.fill",
"stylers": [
{ "visibility": "on" },
{ "weight": 8 },
{ "hue": "#ff0000" },
{ "color": "#ffffff" }
]
},{
"featureType": "landscape",
"elementType": "labels.text.stroke",
"stylers": [
{ "color": "#ffffff" },
{ "visibility": "on" }
]
},{
"featureType": "poi",
"elementType": "labels.icon",
"stylers": [
{ "visibility": "on" }
]
},{
"featureType": "water",
"elementType": "labels.text.fill",
"stylers": [
{ "visibility": "off" },
{ "color": "#ffffff" }
]
},{
"featureType": "water",
"elementType": "labels.text.stroke",
"stylers": [
{ "visibility": "on" },
{ "color": "#ffffff" }
]
},{
"featureType": "water",
"stylers": [
{ "color": "#004044" }
]
},{
}
]


Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.