Code

Opened 4 years ago

Last modified 3 years ago

#13117 new New feature

Recenter OSMGeoAdmin widget with coordinates

Reported by: anonymous Owned by: nobody
Component: GIS Version: 1.1
Severity: Normal Keywords: admin widget OSMGeoAdmin
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

By default, all mapplets that gets created by the contrib.gis.admin.GeoModelAdmin and contrib.gis.admin.OSMGeoAdmin classes are centered at 0,0, which makes it tedious to enter geographic data with that widget when you have the lattitude and longitude coordinates in numeric form.

There should be a textbox for centering the map to a set of coordinates.

Attachments (1)

widget.diff (2.0 KB) - added by nbv4 4 years ago.
center GeoModelAdmin widget

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by nbv4

center GeoModelAdmin widget

comment:1 Changed 4 years ago by nbv4

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from recenter to Recenter OSMGeoAdmin widget with coordinates

comment:2 Changed 4 years ago by russellm

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 3 years ago by lukeplant

  • Type set to New feature

comment:4 Changed 3 years ago by lukeplant

  • Severity set to Normal

comment:5 Changed 3 years ago by julien

  • Needs documentation set
  • Needs tests set

It'd be great to add some tests for this. Can some doc also be written?

comment:6 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:7 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.