-
Notifications
You must be signed in to change notification settings - Fork 23
Minor Improvements #30
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
Comments
Hey, I'm not at all involved with this project (yet) but would like to give some feedback. Regarding point 1, I believe it's because this is a mapbox specific library, and this is the order that mapbox uses officially. https://docs.mapbox.com/help/glossary/lat-lon/
As for the size of the location field, I'm sure there's so me way to hack it using css or js, if there is no clean way to modify the size through this library. |
Regarding the coordinates order, it's explained in README: quoting: Since version 1.4.0 the order of coordinates convention has been changed. Now the order is longitude, latitude. This change has been caused by support for spatial databases. Nevertheless, 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. |
And when it comes to the size of the address field, web technologies have the advantage that you can always override the original CSS of any container. So, setting the size in your CSS files is pretty simple. Just like that: Read more about css's 'width' property here: https://www.w3schools.com/cssref/pr_dim_width.asp |
If anyone would like to contribute and build Django implementation that overrides it for the coder, I'd be happy to review and merge, but personally don't have time right now. |
Hey,
When people use this value and post it to google its always on the reverse of the world because its mixed up.
ISO 6709 - Latitude comes before longitude
A lot of Addresses are Cut Off with (...) because their Address is longer. I think it could improve user experience when you dont need to scroll inside the field to double check Addresses
All the best!
The text was updated successfully, but these errors were encountered: