popoutArea | R Documentation |
Defaults work well for London on an England only map.
popoutArea(
shape,
popoutShape = arear::londonShape,
popoutPosition = c("NE", "NW", "SE", "SW"),
popoutScale = 3,
nudgeX = 0.25,
nudgeY = 0.25
)
shape |
The original shape |
popoutShape |
The mask shape. This will be summarised before applied. |
popoutPosition |
Which corner to place the popout NE,NW,SE or SW |
popoutScale |
A factor to grow the popout area by. This is linear scale so the popout will appear the square of this factor bigger. |
nudgeX |
shift the popout panel by a small amount (in coordinate units) |
nudgeY |
shift the popout panel by a small amount (in coordinate units) |
A new map with the content intersecting the popout area duplicated, expanded and placed in the specified corner.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.