-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
48 lines (33 loc) · 1.96 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
navbarPage("Groundwater Data", id = 'nav', collapsible = TRUE, position = "fixed-top",
# Sidebar with a slider input for number of bins
tabPanel("Interactive map",
div(class="outer",
tags$head(
# Include custom CSS
includeCSS("styles.css")
),
absolutePanel(id = "controls", class = "panel panel-default",
fixed = TRUE, draggable = TRUE, style="z-index:500;",
top = 60, right = "auto", left = 60, bottom = "auto", width = 500,
h2("Data explorer"), height = 650,
sliderInput("bins",
"Number of bins:",
min = 1,
max = 50,
value = 30),
plotOutput("plot.bounds", height = "200px"),
plotOutput("plot.clicked", height = "200px")
),
# Mapa de Leaflet
leafletOutput("map", height = "100%", width = "100%")
)
),
tabPanel("Data",
dataTableOutput("data")
)
)
))