Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
fix broken example
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Mar 26, 2018
1 parent 6034353 commit 83b4dcf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions R/featureLayers.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,16 @@ featureLayerOptions <- function(
#' "Heritage_Trees_Portland/FeatureServer/0"),
#' useServiceSymbology = TRUE,
#' labelProperty = "COMMON_NAM", labelOptions = labelOptions(textsize = "12px"),
#' popupProperty = JS("
#' function(feature) {
#' return L.Util.template(
#' \"<h3>{COMMON_NAM}</h3><hr />
#' <p>This tree is located at {ADDRESS} and its scientific name is {SCIENTIFIC}.</p>
#' \",
#' feature.properties
#' );
#' }"
#' ))
#' popupProperty = JS(paste0(
#' "function(feature) {",
#' " return L.Util.template(",
#' " \"<h3>{COMMON_NAM}</h3><hr />",
#' " <p>This tree is located at {ADDRESS} and its scientific name is {SCIENTIFIC}.</p>",
#' " \",",
#' " feature.properties",
#' " );",
#' "}"
#' )))
#'
#' ## for more examples see
#' # browseURL(system.file("examples/featureLayers.R", package = "leaflet.esri"))
Expand Down
20 changes: 10 additions & 10 deletions man/addEsriFeatureLayer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83b4dcf

Please sign in to comment.