getPopup | R Documentation |
Get text for tribal marker popup getPopup is used within TADA_addPolys and TADA_addPoints
getPopup(layer, layername)
layer |
A map feature layer |
layername |
Name of the layer |
Vector of strings to be used as the text for the popups when clicking on a tribal marker
## Not run:
# Get the Oklahoma Tribal Statistical Areas feature layer
layer <- getLayer("extdata/OKTribe.shp")
# Get popup text for individual markers
getPopup(layer, "Oklahoma Tribal Statistical Areas")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.