-
Notifications
You must be signed in to change notification settings - Fork 322
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
Maps with custom GeoJson data renders incorrect polygon #3117
Comments
Tried this but still getting the same issue. I am using this GeoJson file |
You have to rewind your JSON. you can do here https://observablehq.com/ |
Can you check you are running the latest version? The setting was added in the version 4.10.11. |
I was running on 4.9 version. Thanks for your help. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
I'm following the Amcharts Map tutorial to create a visualisation using other open sourced geodata.
I'm trying to display a map of Virginia counties and I followed the tutorial step by step and this is what I get:
Whereas it should look like this:
I have tried reversing the co-ordinates but it lands to same polygon.
Here is a snippet:
And the mapJson looks like:
var mapJson = {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"id": 12,
"properties": {
"place_id": 235602888,
"display_name": "Балтасинский район, Татарстан, Приволжский федеральный округ, Россия"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-77.655169, 38.942656],
[-77.657581, 38.943231],
[-77.658739, 38.943508],
...
]
]
}
}
]
}
Is there anything wrong with this code or json?
The text was updated successfully, but these errors were encountered: