Skip to content
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

MGRS 10x10km do overlap #24

Open
solsticedhiver opened this issue Jul 7, 2017 · 2 comments
Open

MGRS 10x10km do overlap #24

solsticedhiver opened this issue Jul 7, 2017 · 2 comments
Labels

Comments

@solsticedhiver
Copy link

I am using mgrs.js and inverse function to create a MGRS grid on a leaflet map.

The result is subpar because the MGRS 10x10 km zone are overlapping and do not fit well next to each over. This does not make a good looking grid.

Take a look at https://jsfiddle.net/vs18ro0p/ and zoom in to see the zone overlapping

@calvinmetcalf
Copy link
Member

so first off, in all honesty I didn't right this, I'm not sure who did, who ever did probably wrote it in c and it was ported over.

So splunking in it would seam that how we calculate our x and y coordinates are wrong and should more or less be independent

@DanielJDufour
Copy link
Collaborator

I'll look into this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants