9.11 Shiny

The web mapping approach to interactivity has limitations:

  • Although the map is interactive in terms of panning, zooming and clicking, the code is static, meaning the user interface is fixed
  • All map content is generally static in a web map, meaning that web maps cannot scale to handle large datasets easily
  • Additional layers of interactivity, such a graphs showing relationships between variables and dashboards are difficult to create using the web-mapping approach

FIGURE 9.25: CycleHireApp, a simple web mapping application for finding the closest cycle hiring station based on your location and requirement of cycles. Interactive version available online at r.geocompx.org.

Cycle Hire App by Robin Lovelace (R code)

Additional Resource: Geospatial Health Data: Modeling and Visualization with R-INLA and Shiny by Paula Moraga