Skip to content

Use plotlyProxy to update map #11

Description

@raphidoc

Use plotly proxy to:

  • Add Obs trace and update it when Save is hit
  • Zoom, Center and highlight the selected Obs point (by map click or ObsList)

This way Plotly.newPlot would not have to be called when the two events above are triggered. It would be a considerable gain in efficiency and usability/appearance of the app.

Resources:
plotly/plotly.R#1604
https://stackoverflow.com/questions/50138568/removing-traces-by-name-using-plotlyproxy-or-accessing-output-schema-in-reactiv

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions