-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
31 lines (27 loc) · 1.05 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
library(shiny)
library(leaflet)
library(leafem)
library(rdepthmap)
library(rgeos)
library(rgdal)
library(dplyr)
library(RColorBrewer)
#UI-------------------------------------------------------
ui <- bootstrapPage(
tags$style(type = "text/css", "html, body {width:100%;height:100%}"),
leafletOutput("mymap", width = "100%", height = "100%"),
absolutePanel(top = 10, right = 10,
h4("Popular Times of Hawker Centres"),
selectInput("day","Day of the Week",
c("Monday" = "mon",
"Tuesday" = "tue",
"Wednesday" = "wed",
"Thursday" = "thu",
"Friday" = "fri",
"Saturday" = "sat",
"Sunday" = "sun")),
sliderInput("time", "0000 - 2400", min = 0, max = 23, value = 12),
#checkboxInput("voro", "Show voronoi map", TRUE),
checkboxInput("legend", "Show legend", TRUE)
)
)