Code

Opened 4 years ago

Closed 16 months ago

#13899 closed New feature (wontfix)

Geolocation Support for GeoDjango admin

Reported by: taylanpince 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 taylanpince 4 years ago.
Adds geolocation support for admin maps

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by taylanpince

Adds geolocation support for admin maps

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design 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 3 years ago by graham_king

  • Severity set to Normal
  • Type set to New feature

comment:3 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:4 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:5 Changed 16 months ago by aaugustin

  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.