Haven’t found a similar topic in the forum, but is it possible to style the google map widget in some way? If so, how?
I’d pretty much need to add something like this somewhere:
[
{
“elementType”: “geometry”,
“stylers”: [
{ “weight”: 0.1 },
{ “hue”: “#ef7c0b” },
{ “lightness”: -10 },
{ “gamma”: 0.85 },
{ “saturation”: 60 }
]
}
]
Thanks in advance!
Tbh I’m not familiar with the google maps api and I can’t assist you with detailed instructions. But probably you can add it to the map print code in wp-contentthemesenfoldframeworkphpclass-framework-widgets.php – open up the file and search for
function avia_printmap($lat, $lng, $zoom, $type, $content, $directionsto) {
below this line you’ll find the google maps javascript code and there you should be able to insert your custom styling code, etc.