Opened 14 years ago

Closed 12 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 14 years ago.
Adds geolocation support for admin maps

Download all attachments as: .zip

Change History (6)

by Taylan Pince, 14 years ago

Attachment: add_geolocation.diff added

Adds geolocation support for admin maps

comment:1 by Russell Keith-Magee, 14 years ago

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 by Graham King, 14 years ago

Severity: Normal
Type: New feature

comment:3 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:4 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:5 by Aymeric Augustin, 12 years ago

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