Comments Daniel started the conversationFebruary 9, 2015 at 6:09pmHi All,I would like to change the Google Map style. From https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map I generated this code: [ { "elementType": "geometry", "stylers": [ { "saturation": -95 }, { "gamma": 0.95 } ] } ] But where do I put it whithin the map.js ? And how do I confire Salient to show this map style?Thanks in advance.Daniel 8,848Tahir repliedFebruary 9, 2015 at 10:52pmHey!You can edit an existing one and change the appropriate values. Thanks ThemeNectar Support Team 1 LikeDaniel repliedFebruary 9, 2015 at 11:05pmHi Tahir,I just got it working finally. However the position to insert the code as suggested in Ticket: #80708 is NOT working.Instead I put it in here: else { styles = []}Like this:else { styles = [ { "elementType": "geometry", "stylers": [ { "saturation": -95 }, { "gamma": 0.95 } ] } ]; }THNX for your response.Daniel 8,848Tahir repliedFebruary 9, 2015 at 11:14pmThanks for posting back. Cheers ThemeNectar Support Team Sign in to reply ...
Hi All,
I would like to change the Google Map style. From https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map I generated this code:
[ { "elementType": "geometry", "stylers": [ { "saturation": -95 }, { "gamma": 0.95 } ] } ]
But where do I put it whithin the map.js ? And how do I confire Salient to show this map style?
Thanks in advance.
Daniel
Hey!
You can edit an existing one and change the appropriate values.
Thanks
ThemeNectar Support Team
Hi Tahir,
I just got it working finally. However the position to insert the code as suggested in Ticket: #80708 is NOT working.
Instead I put it in here:
else {
styles = []
}
Like this:
else {
styles = [ { "elementType": "geometry", "stylers": [ { "saturation": -95 }, { "gamma": 0.95 } ] } ];
}
THNX for your response.
Daniel
Thanks for posting back.
Cheers
ThemeNectar Support Team