Skip to content

Commit 0d4da49

Browse files
author
Ilham
committed
Add visual example for wrong coordinate order
1 parent e34a968 commit 0d4da49

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

docs/user_guide/geojson/coordinate_ordering.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ m = folium.Map(location=[41.8781, -87.6298], zoom_start=12)
5454
folium.GeoJson(geojson_data).add_to(m)
5555
m
5656
```
57+
![Wrong coordinate order - marker appears in Antarctica instead of Chicago](./example2_wrong_location.png)
5758

5859
GeoJSON interprets the coordinates as [lon, lat], so when you provide [lat, lon] by mistake, the point ends up in the wrong location. In this case, the marker would appear far from Chicago.
5960

57.5 KB
Loading

0 commit comments

Comments
 (0)