View source: R/map_functions.R
mapscale | R Documentation |
Determines the map scale at a specified latitude, zoom level, and screen resolution. For further information, refer to the Microsoft Bing Maps Tile System documentation.
mapscale(latitude, zoom, screen_dpi)
latitude |
Latitude (in degrees) at which to measure the map scale. |
zoom |
Zoom or level of detail, from 1 (lowest detail) to 23 (highest detail). |
screen_dpi |
Resolution of the screen, in dots per inch. |
The map scale, expressed as the denominator N of the ratio 1 : N.
https://learn.microsoft.com/en-us/bingmaps/articles/bing-maps-tile-system
mapscale(
latitude = 0,
zoom = 6,
screen_dpi = 96
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.