Description Usage Arguments Value Examples
View source: R/mapbox_marker.R
Mapbox Marker String for use in API URL
1 | make_marker_string(marker)
|
marker |
named vector (latlng,icon,size) |
string 'pin-size-icon(lat,lng)'
1 2 3 4 5 | ## Not run:
marker = c(size='m',icon='a',latlng='-77,38')
make_marker_string(marker)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.