1715labs / 1715labs-pfe

Modified version of PFE for use with paid crowds
1715labs-pfe.vercel.app
Apache License 2.0
0 stars 0 forks source link

Specify initial pan-zoom from url #60

Open tingard opened 2 years ago

tingard commented 2 years ago

It might be nice to be able to specify an initial pan and zoom in the URL. This could be achieved by modifying the componentDidMount function in pan-zoom to read from query params, and setState accordingly.

https://github.com/1715labs/1715labs-pfe/blob/008af41ae5f6f1e11a071d92454772c9374005bf/app/components/pan-zoom.jsx#L33