-
Notifications
You must be signed in to change notification settings - Fork 371
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
Autocomplete widget with map #174
Comments
Check out another project I maintain, django-osm-field. It should do what you want. When you submit the form you should be able to access But I would definitely appreciate a PR implementing a custom form field/widget that does that. |
@blag , I can not get the region and subregion from the data received from the providers. If it were not for these two components, it would be more or less simple. |
@narnikgamarnikus You'll have to add some details to your last comment. Are you having an issue importing the region and subregion data? If so, please open a separate issue for those. If it's something else, please explain. |
Checklist
master
branch of django-cities.Steps to reproduce
Expected behavior
Hey.
I want to provide an opportunity for users to have a widget like this so that they can enter the address and see their point on the map.
One option is to parse the answer from Google or another provider, and search for objects in the database.
Another option is to get the longitude and latitude from the widget, and for longitude and latitude, look for the nearest country / city / district.
In any case, I want to use your application, and in addition I need a custom widget.
How can i do this ?
If you direct me to the right idea, I'm ready to push, or I'll make a small extension that will stacked with yours.
Actual behavior
The text was updated successfully, but these errors were encountered: