Skip to content

Conversation

jeffreykog
Copy link
Contributor

Leaflet v2-alpha was released. A lot of legacy browser support stuff has been removed, and ESM builds are now the default. This PR changes all references to these deprecated/removed classes so leaflet-locatecontrol can be compatible with both v1 and v2 at the same time.

@domoritz
Copy link
Owner

Thanks. I'll wait for the official release before considering this.

@simon04
Copy link
Contributor

simon04 commented Aug 16, 2025

Util.requestAnimFrame has also been removed (line 680).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants