Closed dimfeld closed 1 year ago
Hello, as you expected, I have an issue on the initial bounds option.
Issue: "bounds" options of
Seeing the same problem. https://github.com/dabreegster/svelte-maplibre/commit/43466bb4220a6ef56bc4031b0ecd2e5dc47b3f27 is a very weird workaround. The caller explicitly setting center={undefined}
doesn't seem to work. null
does, but then it doesn't type-check. It might make more sense to remove the default values for center
and zoom
instead.
I'll try a few things out, clean it up, and send a PR
Need to see if it's on initial set or on subsequent set but something seemed off a couple days ago.