Replies: 1 comment 1 reply
-
I don't see your Leaflet integration above, so its hard to make any assumptions how you sync your query state with the Leaflet state. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I’m building an app using Remix and Leaflet, and I’ve run into a problem.
I’m trying to resize a map dynamically when updating query parameters using setSearchParams. However, the map content doesn’t render correctly or adjust properly to the new size in some cases. Here’s the situation:
window.location.search = ...
to force a page reload as a workaround.What I’ve Tried
If anyone knows the proper way to implement this or a better solution, I’d really appreciate your advice!
Beta Was this translation helpful? Give feedback.
All reactions