Skip to content

Commit

Permalink
Merge pull request #28 from fdetsch/master
Browse files Browse the repository at this point in the history
Added missing links to 'leaflet'.
  • Loading branch information
tim-salabim authored Jun 6, 2017
2 parents 1177357 + 4bf0bbf commit b0cd9c3
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 b0cd9c3

Please sign in to comment.