getPopup: Get text for tribal marker popup getPopup is used within...

View source: R/Utilities.R

getPopupR Documentation

Get text for tribal marker popup getPopup is used within TADA_addPolys and TADA_addPoints

Description

Get text for tribal marker popup getPopup is used within TADA_addPolys and TADA_addPoints

Usage

getPopup(layer, layername)

Arguments

layer

A map feature layer

layername

Name of the layer

Value

Vector of strings to be used as the text for the popups when clicking on a tribal marker

Examples

## 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)

USEPA/TADA documentation built on April 12, 2025, 1:47 p.m.