Quick function for getting the 1/aspect ratio of a geometry
yoverx(geom, osm = T)
Since map objects have varying aspect ratios, saving them to files results in lots of whitespace. This function enables you to specify the output dimensions in the same ratio as the
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.