stamen / chartographer

https://stamen.github.io/chartographer/
MIT License
19 stars 4 forks source link

Don't return to fill page on refresh/new style #63

Open aparlato opened 1 year ago

aparlato commented 1 year ago

See https://github.com/stamen/chartographer/pull/62#issuecomment-1515174490

We currently switch back to the fill page when a style is dropped in, which also includes when the page is refreshed (which is more noticeable now that a style can be persisted).

We should remove this line and break out the code to create a background layer from the fill chart so it can run in App.svelte and always be available. This way, when a user refreshes a style, they can return to the page specified in the hash.