Skip to content

Dynamically Display Projection Units in Buffer Distance Field #541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
arjxn-py opened this issue Mar 12, 2025 · 0 comments · May be fixed by #554
Open

Dynamically Display Projection Units in Buffer Distance Field #541

arjxn-py opened this issue Mar 12, 2025 · 0 comments · May be fixed by #554

Comments

@arjxn-py
Copy link
Member

The buffer distance unit depends on the selected projection.
Maybe Use proj4js to determine the projection unit dynamically:

import proj4 from "proj4";
const unit = proj4("EPSG:4326").oProj.units; // Example output: "degrees"

Originally suggested by @mfisher87 in #529 (comment)

@mfisher87 mfisher87 linked a pull request Mar 19, 2025 that will close this issue
4 tasks
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 a pull request may close this issue.

1 participant