|
@@ -223,7 +223,7 @@ again-data-visualisation-competition", "data visualisation competition",
|
223
|
223
|
"used by people commuting to employment from each area."),
|
224
|
224
|
h4("Keyboard shortcuts"),
|
225
|
225
|
shiny::tags$ul(id="shortcutlist",
|
226
|
|
- shiny::tags$li(shiny::tags$kbd("I"), ": toggle this info page"),
|
|
226
|
+ shiny::tags$li(shiny::tags$kbd("I"), ": show/hide this info page"),
|
227
|
227
|
shiny::tags$li(shiny::tags$kbd("M"), ": focus map"),
|
228
|
228
|
shiny::tags$ul(
|
229
|
229
|
shiny::tags$li(shiny::tags$kbd("+"), shiny::tags$kbd("-"),
|
|
@@ -235,6 +235,7 @@ again-data-visualisation-competition", "data visualisation competition",
|
235
|
235
|
": move map")
|
236
|
236
|
),
|
237
|
237
|
shiny::tags$li(shiny::tags$kbd("S"), ": search map"),
|
|
238
|
+ shiny::tags$li(shiny::tags$kbd("L"), ": show/hide options panel"),
|
238
|
239
|
shiny::tags$li(shiny::tags$kbd("P"), ": show employment data"),
|
239
|
240
|
shiny::tags$li(shiny::tags$kbd("D"), ": show education data"),
|
240
|
241
|
shiny::tags$li(shiny::tags$kbd("F"), ": show people commuting from localities"),
|
|
@@ -327,6 +328,10 @@ $(function(){
|
327
|
328
|
evObj.initEvent('click', true, false);
|
328
|
329
|
document.getElementsByClassName('search-button')[0].dispatchEvent(evObj);
|
329
|
330
|
break;
|
|
331
|
+ case 'l':
|
|
332
|
+ case 'L':
|
|
333
|
+ document.getElementById('controlswitch').click();
|
|
334
|
+ break;
|
330
|
335
|
default:
|
331
|
336
|
break;
|
332
|
337
|
}
|