Hi.
I want to add or change the google map style with a new style that I created. I open the awecontent-gmap-item.js file and changed the 3er style with my json code. When I'm editing the awecontent and choose the new style, I can see the new style without any problem; perfect! But when I save all changes, and I reload the frontpage, the style shown is the old one. I cleaned the cache multiple times, through drupal admin panel and with drush, but the old style still appears.
What can I do?
The old style:
The new style:
My json code:
style3: [{"featureType": "road.highway","elementType": "geometry","stylers": [{ "color": "#ef4484" },{ "saturation": -12 }]},{"featureType": "landscape","stylers": [{ "saturation": 7 },{ "visibility": "on" },{ "color": "#f2f4f2" },{ "lightness": 4 },{ "hue": "#ff0000" }]},{"featureType": "road","elementType": "labels.text.fill","stylers": [{ "visibility": "on" },{ "color": "#e20583" }]},{"featureType": "water","stylers": [{ "visibility": "on" },{ "color": "#808080" },{ "lightness": 62 }]},{"featureType": "poi","elementType": "labels.icon","stylers": [{ "color": "#808080" },{ "visibility": "off" }]}],
Thanks.
Hi,
Please customize file file md_awecontent/js/awe-frontend-scripts.js also.
Great! Excellent job!