use_icon_definition | R Documentation |
Create an icon definition on an atlas image
use_icon_definition( x = 0, y = 0, width = 128, height = 128, anchor_x = (width/2), anchor_y = 128, mask = TRUE )
x |
The x position of the icon on the atlas image. |
y |
The y position of the icon on the atlas image. |
width |
The width of the icon on the atlas image. |
height |
The height of the icon on the atlas image. |
anchor_x |
The horizontal position of the icon anchor. |
anchor_y |
the vertical position of the icon anchor. |
mask |
whether icon is treated as a transparency mask,
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.