I am creating a Rshiny interface on that can take in the user input when a user click on a point on the map, query the user's selection from postgresql and return another map layer. The package I am using is leaflet. (https://rstudio.github.io/leaflet/). I have followed the examples, but am unable to generate any map layers.
The following are my ui.r and server.r codes
ui.r
shinyUI(fluidPage( titlePanel("title here"), sidebarLayout(position = "right", sidebarPanel( selectInput("time", label = "Choose a time period", choices = list("1", "2", "3") ) ), mainPanel(leafletOutput('map'))))server.r
shinyServer(function(input,output) { drv
The following are my ui.r and server.r codes
ui.r
shinyUI(fluidPage( titlePanel("title here"), sidebarLayout(position = "right", sidebarPanel( selectInput("time", label = "Choose a time period", choices = list("1", "2", "3") ) ), mainPanel(leafletOutput('map'))))server.r
shinyServer(function(input,output) { drv