You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In get_googlemap(), using the visible argument as a replacement for zoom doesn't work, since zoom is required to be numeric, the default is set to zoom = 10, and zoom is always pasted into the url. (The replacement of zoom with visible is discussed in this Google Maps Static Maps help article).
This will use the default zoom = 10, not the smaller visible argument that is provided:
If the url is pasted into a browser and "zoom=10&" is deleted from the url, the updated map shows the desired extent.
The visible argument allows more precise fine-tuning, and includes the attribution information (there is also the known issue of non-square sizes being improperly displayed, making the size argument potentially problematic). Using the size parameter to resize the extent removes much of the attribution, eg:
In
get_googlemap()
, using thevisible
argument as a replacement forzoom
doesn't work, sincezoom
is required to be numeric, the default is set tozoom = 10
, andzoom
is always pasted into the url. (The replacement of zoom with visible is discussed in this Google Maps Static Maps help article).This will use the default zoom = 10, not the smaller visible argument that is provided:
If the url is pasted into a browser and "zoom=10&" is deleted from the url, the updated map shows the desired extent.
The
visible
argument allows more precise fine-tuning, and includes the attribution information (there is also the known issue of non-square sizes being improperly displayed, making thesize
argument potentially problematic). Using thesize
parameter to resize the extent removes much of the attribution, eg:The text was updated successfully, but these errors were encountered: