Opened 7 years ago

Last modified 6 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 7 years ago.
center GeoModelAdmin widget

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by nbv4

Attachment: widget.diff added

center GeoModelAdmin widget

comment:1 Changed 7 years ago by nbv4

Summary: recenterRecenter OSMGeoAdmin widget with coordinates

comment:2 Changed 7 years ago by Russell Keith-Magee

Triage Stage: UnreviewedAccepted

comment:3 Changed 6 years ago by Luke Plant

Type: New feature

comment:4 Changed 6 years ago by Luke Plant

Severity: Normal

comment:5 Changed 6 years ago by Julien Phalip

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 5 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:7 Changed 5 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

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