How to change the style of the map in Google Maps without refreshing? [closed]

0

Hello! I have that doubt. I currently have a site with the Google Maps map and I found this: Night mode and I would like to be able to implement it to my site. But the problem is that I would like the user who is in my site to change, if desired, the style of the map. Then, if the map is in its normal style, and the user decides to change it to night mode, the map should change (without refreshing the site) the map. How could I make it change without cooling the site? Since I have it, but in order to change, I have to refresh the site and I do not want that.

Thank you very much:)

    
asked by Jonathan 08.02.2018 в 22:12
source

1 answer

0

The same Google Maps Api documentation gives you a clear example of the function you need. Check the information Here

    
answered by 08.02.2018 / 22:36
source