update_style | R Documentation |
Updates the map with the given styles
update_style(map, styles = NULL)
map |
a googleway map object created from |
styles |
JSON string representation of a valid Google Maps styles Array. See the Google documentation for details https://developers.google.com/maps/documentation/cloud-customization/cloud-based-map-styling |
This function is intended for use with google_map_update in an
interactive shiny environment. You can set the styles of the original map
using the styles
argument of google_map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.