Leaflet Map Generator - 2020 Shiny Contest Submission

Leaflet Map Generator

Authors: Jindra Lacko
Working with Shiny more than 1 year

Abstract: Generator of leaflet HTML files from Excel documents

Full Description: Generator of offline HTML documents leveraging the popular leaflet.js library (for use in iframe or what not - a general HTML context is sufficient) based on inputs in format of MS Excel files with GPS point data.

The aim of the app is to sidestep the need to master the syntax of either Javascript leaflet.js and/or R {leaflet} package, and make map making accessible to a wider range of users of varying tech skills.

The app takes a single input (a MS Excel file; a sample is provided) and produces two outputs:

  • a single HTML file containing the map for use in a general html context, e.g. in an iframe
  • a MS Excel file containing obvious errors in input coordinates (if any)

A note on source code: the app was originally written for Czech audience, and while the UI has been translated to English there remain traces of Czech in comments etc.


Keywords: spatial, leaflet
Shiny app: Interactive Map Generator · Jindra Lacko
Repo: https://github.com/jlacko/leaflet-generator/tree/english
RStudio Cloud: Posit Cloud

Full image:

3 Likes

Interesting your app :grinning:

1 Like