erdem / django-map-widgets

Highly customizable, intuitive, and user-friendly map widgets for GeoDjango applications.
MIT License
448 stars 119 forks source link

How to populate address field in database ? #89

Closed Arti3DPlayer closed 5 years ago

Arti3DPlayer commented 5 years ago

screen shot 2018-12-14 at 13 24 40

Is there a way to populate address ?

dennishylau commented 5 years ago

Do you mean you want to do reverse geocoding on the pinned coordinate? Check out the docs of Google Maps API for that

Arti3DPlayer commented 5 years ago

@dennishylau No, as you see on screenshot I have another address field which I want to hide and populate from here:

screen shot 2019-02-24 at 14 34 36

Ok, then I need custom js to handle this. Thank you

erdem commented 5 years ago

https://django-map-widgets.readthedocs.io/en/latest/widgets/point_field_map_widgets.html#javascript-triggers

masavini commented 1 year ago

@dennishylau No, as you see on screenshot I have another address field which I want to hide and populate from here:

screen shot 2019-02-24 at 14 34 36

Ok, then I need custom js to handle this. Thank you

@dennishylau, may i ask you how did you solve this? i have the same exact issue...