GeoDjango's admin siteLink to this heading

GeoModelAdminLink to this heading

class GeoModelAdminLink to this definition
default_lonLink to this definition

The default center longitude.

default_latLink to this definition

The default center latitude.

default_zoomLink to this definition

The default zoom level to use. Defaults to 18.

extra_jsLink to this definition

Sequence of URLs to any extra JavaScript to include.

map_templateLink to this definition

Override the template used to generate the JavaScript slippy map. Default is 'gis/admin/openlayers.html'.

map_widthLink to this definition

Width of the map, in pixels. Defaults to 600.

map_heightLink to this definition

Height of the map, in pixels. Defaults to 400.

openlayers_urlLink to this definition

Link to the URL of the OpenLayers JavaScript. Defaults to 'http://openlayers.org/api/2.13.1/OpenLayers.js'.

modifiableLink to this definition

Defaults to True. When set to False, disables editing of existing geometry fields in the admin.

OSMGeoAdminLink to this heading

class OSMGeoAdminLink to this definition

A subclass of GeoModelAdmin that uses a spherical mercator projection with OpenStreetMap street data tiles. See the OSMGeoAdmin introduction in the tutorial for a usage example.