marineenergy / www

Marine hydrokinetic energy & environmental compliance, website
https://marineenergy.app
MIT License
1 stars 1 forks source link

regulatory diagrams: use Google Drawings, interactive Shiny #20

Open bbest opened 3 years ago

bbest commented 3 years ago

Can use a "live" Google Drawing, which doesn't require any desktop software and is easy to edit.

Examples:

bbest commented 3 years ago

From Use Shiny.setInputValue to register the clicking of SVG; regs_app/app.R in https://github.com/mhk-env/mhk-env.github.io/commit/85db38dad526b86ef7afd60c9e2e207dd3211af5

image

Amazing! Clicking on red circle or blue square registers in Shiny ✨

bbest commented 2 years ago

https://github.com/marineenergy/www/blob/master/regs_app/app.R

bbest commented 2 years ago

We could use shiny::renderUI() to update either the SVG plot or drop-down lists based on element clicked.