-
Jacob Magnusson authored
The current Leaflet implementation expects coordinates in latitude-longitude order but GeoJSON and PostGIS works the other way around with lng first. These changes work around this behavior by passing the data to and from db through PostGIS’s `ST_FlipCoordinates` function if the setting `MAPBOX_FIX_POINT_COORDINATES` is something truthy. This is to not break the current behavior. Right now a warning is emitted when this setting hasn’t been enabled but I would recommend to remove this setting and make its behavior the default in the next major version.
86d2542b
| Name |
Last commit
|
Last update |
|---|---|---|
| babel | ||
| doc | ||
| examples | ||
| flask_admin | ||
| .gitignore | ||
| .gitmodules | ||
| .travis.yml | ||
| AUTHORS | ||
| LICENSE | ||
| MANIFEST.in | ||
| Makefile | ||
| NOTICE | ||
| README.rst | ||
| TODO.txt | ||
| projects.rst | ||
| requirements-dev.txt | ||
| setup.cfg | ||
| setup.py |