Background

The web version of SeisFinder2 will be developed in the near future. To make things easier, flask and google maps implementation along with some front end features are implemented.

Story / Deliverable

  1. Create dynamic webpage - if you change input the webpage responds interactively to the input change
  2. Clicking on  Google maps - prints location's lat, lon

Tasks 

Create dynamic webpage

Clicking on  Google maps

Progress / Tasks completed

Create dynamic webpage

Several examples implemented for forms and input handling with flask. Examples also include file upload, file download, email sending and cookie setting.

Clicking on  Google maps

The google maps was integrated in the flask by using javascript, google maps API. User can select a location by mouse click. 

For multiple locations to be added in the form, textboxes for lat, lon are provided. The number of these textboxes are dynamic. User can add/delete them. This feature provides an alternative to upload a csv file with multiple locations in it.