✨ Features and improvements
- ⚠️ Refactored the
Hash-based location control (the option that syncs map state to the URL like#map=5/1/2) to useURLSearchParamsinternally. This improves extensibility for custom use cases, but may break existing code that relies on the previous implementation. It also changes how certain edge cases are parsed—for example, strings like#10%2F3.00%2F-1.00are now accepted, and hashes like#fooare normalized to#foo=. (#7073) (by @CommanderStorm) - Expose
getProjectionDatafunction in custom layer args objects (#7471) (by @kubapelc) - Marked package
sideEffectsas CSS-only in package metadata, which may improve tree-shaking and reduce bundle size in some bundlers (#7258) (by @CommanderStorm)