Skip to content

Adapt geomapcoder to facilitate offline use #6

@AmyMikhail

Description

@AmyMikhail

Problem statement:

Currently, the user needs to have access to the internet for the first step - selecting the country and zooming in on the map. Ideally, it would be better to be able to save the map on first use of the app and not need to have internet access thereafter. Equally, if using shapefiles, it would be better to save the column names on first use and only change them if the user uploaded a different shape file.

Proposed solution:

Create a checkbox option in the UI to save parameters. If ticked, use observeEvent(input$saveparams...) to save parameters to an .rda file, listing each of the elements to be saved (country, map, region name and region code column names) with the save() command. Then put the following at the top of the app after package loading and before the UI:

if(file.exists("geomapcoder_settings.rda")){

  load("geomapcoder_settings.rda")

}

The appropriate method for saving leaflet tiles needs to be identified.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions