MoffKalast / Sailwind-Map

Rehost of Sycosys' web map for further development
https://moffkalast.github.io/Sailwind-Map/
MIT License
4 stars 4 forks source link

convert comma decimal separator to dot before handling the coordinate #5

Closed johnnycocas closed 1 year ago

johnnycocas commented 1 year ago

The import coords file function does not handle the values properly if the separator is a comma instead of a dot, this should fix that issue.

johnnycocas commented 1 year ago

Accidentally closed thinking I was doing this on the fork.

Please review the code before merging.

johnnycocas commented 1 year ago

Yeah, it shouldn't happen much as I assume the majority of users is from a locale using dots for decimals, but you never know ;)