Description Usage Arguments Details Value
This function uses hand-crafted regular expressions to replace certain strings in the given SVG with the values given as arguments.
1 2 3 4 5 6 7 8 | modify_usgs_pattern(
pattern,
width,
alpha = 1,
fill = "#ffffff",
angle = 0,
height = width
)
|
pattern |
svg text |
width, height |
size in pixels |
alpha |
opacity. default: 1. (opaque) |
fill |
default: '#ffffff' |
angle |
angle in degrees |
This only really works because the SVG text that the USGS was derived from was relatively regular in layout/naming.
adjusted svg text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.