Skip to content

Releases: simon-the-shark/django-mapbox-location-field

changed coordinates order convention

08 Nov 21:54
caf9efb
Compare
Choose a tag to compare

Since this version the order of coordinates convention has been changed. Now the order is longitude, latitude. This change has been caused by support for spatial databases. But more user friendly is order latitude, longitude(google maps uses it). That's why coordinates are falsely swapped in frontend and then after POST request in form field are swapped back into longitude, latitude order and saved to database.
My conclusion is that the location is falsely swapped in frontend and if you create location without our custom form field or just operate on raw model in backend, you will have to use the longitude, latitude order.
Versions before always uses latitude, longitude order.

fixed geodjango support

03 Nov 18:49
Compare
Choose a tag to compare
v1.3.0

included spatial directory

fixed overriding center point

03 Nov 16:56
Compare
Choose a tag to compare
v1.2.0

fixed overriding center point

fixed plain usage, separed spatial definitions

03 Nov 16:10
Compare
Choose a tag to compare

Geodjango support

03 Nov 15:36
aefceee
Compare
Choose a tag to compare

Added SpatialLocationField and now can work with spatial databases.

added support for spaceless format of coordinates

31 Oct 16:14
Compare
Choose a tag to compare

Reverse Geocoding

08 Jul 09:54
Compare
Choose a tag to compare

Added reverse geocoding, AddressAutoHiddenInput, AddressAutoHiddenField

v0.2.3

05 Jul 19:11
Compare
Choose a tag to compare
fixed get_prep_value

v0.2.2

05 Jul 15:49
Compare
Choose a tag to compare
fixed rendering outside the map

v0.2.1

05 Jul 14:37
Compare
Choose a tag to compare
fixed initial value`s format