Skip to content

Commit

Permalink
Added missing links to 'leaflet'.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdetsch committed Jun 6, 2017
1 parent 1177357 commit 4bf0bbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @export
selectModUI <- function(id, ...) {
ns <- shiny::NS(id)
leafletOutput(ns("map"), ...)
leaflet::leafletOutput(ns("map"), ...)
}


Expand All @@ -29,7 +29,7 @@ selectMod <- function(
styleTrue = list(fillOpacity = 0.7, weight = 3, opacity = 0.7)
) {

output$map <- renderLeaflet({
output$map <- leaflet::renderLeaflet({
mapedit:::add_select_script(
leafmap,
styleFalse = styleFalse,
Expand Down Expand Up @@ -82,7 +82,7 @@ selectMod <- function(
#' @export
editModUI <- function(id, ...) {
ns <- shiny::NS(id)
leafletOutput(ns("map"), ...)
leaflet::leafletOutput(ns("map"), ...)
}

#' Shiny Module Server for Geo Create, Edit, Delete
Expand Down Expand Up @@ -125,7 +125,7 @@ editMod <- function(
)
}

output$map <- renderLeaflet({leafmap})
output$map <- leaflet::renderLeaflet({leafmap})

featurelist <- reactiveValues(
drawn = list(),
Expand Down

0 comments on commit 4bf0bbf

Please sign in to comment.