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

Map widget is switching latitude and longitude in GeoJson result #3489

Closed
david-nossebro opened this issue Mar 28, 2020 · 1 comment
Closed

Comments

@david-nossebro
Copy link

The map widget (#2051) is setting the latitude and longitude in the wrong order.

In GeoJson the order should be latitude, longitude (or easting and northing, but thats not the case either).

The result I get is:
geo-json: '{"type":"Point","coordinates":[13.622489,59.3707079]}'

But I'm expecting it to be (close to Karlstad, Sweden):
geo-json: '{"type":"Point","coordinates":[59.3707079,13.622489]}'

@david-nossebro
Copy link
Author

I realized that this is the expected behavior for GeoJson format. Closing this ticket.

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

No branches or pull requests

1 participant