|
@@ -129,7 +129,8 @@ server <- function(input, output, session) {
|
129
|
129
|
popup = popups(Geo2017),
|
130
|
130
|
icon = piconlist["blue"],
|
131
|
131
|
label = Geo2017$name,
|
132
|
|
- group = "locations"
|
|
132
|
+ group = "locations",
|
|
133
|
+ labelOptions = labelOptions(textsize = "12px")
|
133
|
134
|
)
|
134
|
135
|
gl <- addSearchFeatures(gl, targetGroups = "locations")
|
135
|
136
|
gl
|
|
@@ -148,7 +149,8 @@ server <- function(input, output, session) {
|
148
|
149
|
popup = popups(Geo2017),
|
149
|
150
|
icon = piconlist[snargcol(Geo2017$Snargle)],
|
150
|
151
|
label = Geo2017$name,
|
151
|
|
- group = "locations"
|
|
152
|
+ group = "locations",
|
|
153
|
+ labelOptions = labelOptions(textsize = "12px")
|
152
|
154
|
)
|
153
|
155
|
} else if (input$selcol == "DHB") {
|
154
|
156
|
gl <- addMarkers(gl, lng = Geo2017$lon,
|
|
@@ -156,7 +158,8 @@ server <- function(input, output, session) {
|
156
|
158
|
popup = popups(Geo2017),
|
157
|
159
|
icon = piconlist[dhbcol(Geo2017$dhb_name)],
|
158
|
160
|
label = Geo2017$name,
|
159
|
|
- group = "locations"
|
|
161
|
+ group = "locations",
|
|
162
|
+ labelOptions = labelOptions(textsize = "12px")
|
160
|
163
|
)
|
161
|
164
|
} else {
|
162
|
165
|
gl <- addMarkers(gl, lng = Geo2017$lon,
|
|
@@ -164,7 +167,8 @@ server <- function(input, output, session) {
|
164
|
167
|
popup = popups(Geo2017),
|
165
|
168
|
icon = piconlist["blue"],
|
166
|
169
|
label = Geo2017$name,
|
167
|
|
- group = "locations"
|
|
170
|
+ group = "locations",
|
|
171
|
+ labelOptions = labelOptions(textsize = "12px")
|
168
|
172
|
)
|
169
|
173
|
}
|
170
|
174
|
})
|