philippbosch / django-geoposition

Django model field that can hold a geoposition, and corresponding widget
http://django-geoposition.rtfd.org/
MIT License
331 stars 204 forks source link

Possibility to use django-geoposition with geodjango #18

Closed hakanw closed 10 years ago

hakanw commented 10 years ago

It would be really nice if geoposition worked with django's build-in PointField() model field type, instead of requiring you to use its own GeopositionField().

philippbosch commented 10 years ago

Hmm. PointField is part of GeoDjango. The whole point of django-geoposition is to avoid the setup hassle that comes with GeoDjango.

hakanw commented 10 years ago

Yeah, I just think the admin google maps stuff is so good, I would like to use it even in an installation where I happen to have a PointField(). Since it's only a matter of how the db stores the point, I'm trying to figure out how to change the widget/form field now... But I'm kind of lost in the custom widget/field world. :)

philippbosch commented 10 years ago

Closing for now, but might reconsider if you provide a pull request.

mikob commented 6 years ago

@hakanw I know it's been a few years... but this might be of interest to you: https://github.com/erdem/django-map-widgets