update_style: Update style

View source: R/google_map.R

update_styleR Documentation

Update style

Description

Updates the map with the given styles

Usage

update_style(map, styles = NULL)

Arguments

map

a googleway map object created from google_map()

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

Note

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


googleway documentation built on Aug. 22, 2023, 9:13 a.m.