Working google maps widget

49 views
Skip to first unread message

Cictani

unread,
Apr 4, 2018, 4:14:40 PM4/4/18
to Django users
Hi,

I am looking for a working google maps widget. All I need is a text field in which you enter an adress, then it should geocode this address via google geocoding and display it on the map.

The widget should work without geodjango dependencies and with a recent version of jquery > 3.0 since I use bootstrap4 and don't want to use jquery2.

Best regards

Andreas

Siim Märtmaa

unread,
Apr 4, 2018, 5:11:29 PM4/4/18
to django...@googlegroups.com
2018-04-04 23:14 GMT+03:00 Cictani <andreas...@gmail.com>:
> Hi,
>
> All I need is a text field in
> which you enter an adress, then it should geocode this address via google
> geocoding and display it on the map.
>
> Best regards
>
> Andreas

You mean this?
https://developers.google.com/maps/documentation/javascript/examples/places-searchbox

Cictani

unread,
Apr 5, 2018, 10:14:11 AM4/5/18
to Django users
Yes something like this but as a django-package so I can use it as a form field in admin and in my custom forms.

django-geoposition requires jquery2, django-google-maps-widget requires complete GIS package (which I don't need) and django-location-field did not worked for some reason I still haven't managed to find out.
Reply all
Reply to author
Forward
0 new messages