-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Per https://developers.google.com/maps/faq#usage-limits
After a web page or application loads a map, or a static map image, or a Street View panorama, any user interactions with it, such as panning, zooming, or switching map layers, do not generate additional map loads or affect usage limits.
Adding a marker will not generate additional map loads, but may generate charges around how the pin location was determined (such as loading or reloading the
google.maps.Map()class.)
Currently for dynamic loading / changes to a map, a key would be needed on the GMap or higher component to refresh. However each change would incur an addition billing cycle.
Instead try using mounted and destroyed lifecycle hooks to alter the contents of the map without incurring additional cost.