Skip to content

fix: locate translations / unit of measurement - #995

Merged
TurtIeSocks merged 1 commit into
developfrom
locate-control-fix
Apr 2, 2024
Merged

fix: locate translations / unit of measurement#995
TurtIeSocks merged 1 commit into
developfrom
locate-control-fix

Conversation

@TurtIeSocks

Copy link
Copy Markdown
Collaborator

It seems the translating API was changed when the version of Leaflet Locate Control was updated. This fixes the translations and also now respects the users choice of Miles (feet) or Kilometers (meters). Also fixes some React re-rendering issues and generally makes things more consistent.

@Rodaviva29

Copy link
Copy Markdown

Works great, thanks!

@TurtIeSocks
TurtIeSocks merged commit 69ba172 into develop Apr 2, 2024
@TurtIeSocks
TurtIeSocks deleted the locate-control-fix branch April 2, 2024 16:14
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.32.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants