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

Add markers: fix coordinate list concatenation #37

Open
saerdnaer opened this issue Aug 29, 2018 · 0 comments
Open

Add markers: fix coordinate list concatenation #37

saerdnaer opened this issue Aug 29, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@saerdnaer
Copy link
Contributor

saerdnaer commented Aug 29, 2018

When saving a polygon to the database, the coordinates are suffixed with _ to split the individual values. As of now the javascript simply adds a lowerdash (_) after each value, but it only should use dashes to split the values and not at the end.

as of now:

Latitude: 50.8210729998_50.8222207292_50.82075_50.8196023064_
Longitude: -1.3146566479299509_-1.3128552788100478_-1.3105199999999968_-1.312321368049993_

should be:

Latitude: 50.8210729998_50.8222207292_50.82075_50.8196023064
Longitude: -1.3146566479299509_-1.3128552788100478_-1.3105199999999968_-1.312321368049993

@saerdnaer saerdnaer added the bug Something isn't working label Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant