Opened 6 years ago

Closed 4 years ago

#13899 closed New feature (wontfix)

Geolocation Support for GeoDjango admin

Reported by: Taylan Pince Owned by: nobody
Component: GIS Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This adds geolocation support to GeoDjango admin maps, using the W3C Geolocation Standrad and as a fallback, Google Gears. Tested under Firefox 3.2, Chrome 5 and Safari 5.

Patch works fine with the default settings, but it might fail if there is a custom projection applied. I am not confident enough with OpenLayers to make the script more aware of the map's current settings.

More information on this here: http://taylanpince.com/blog/posts/adding-geolocation-support-to-geodjango-admin/

Attachments (1)

add_geolocation.diff (1.7 KB) - added by Taylan Pince 6 years ago.
Adds geolocation support for admin maps

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Taylan Pince

Attachment: add_geolocation.diff added

Adds geolocation support for admin maps

comment:1 Changed 6 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedDesign decision needed

Not entirely sure if this is appropriate as a part of trunk; it feels like it is something that should be handled as an external plugin of some kind. Marking DDN so someone with GeoDjango experience can shed some light on the topic.

comment:2 Changed 5 years ago by Graham King

Severity: Normal
Type: New feature

comment:3 Changed 5 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:4 Changed 5 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:5 Changed 4 years ago by Aymeric Augustin

Resolution: wontfix
Status: newclosed

I agree with Russell that this is too specific for the admin. It only allows centering a map on your current position, and this isn't an operation I expect to be very useful in the admin.

Note: See TracTickets for help on using tickets.
Back to Top