gis.admin.GeoModelAdmin
  • References/Python/Django/API/GeoDjango’s admin site

class GeoModelAdmin default_lon The default center

2025-01-10 15:47:30
gis.admin.OSMGeoAdmin
  • References/Python/Django/API/GeoDjango’s admin site

class OSMGeoAdmin A subclass of GeoModelAdmin that uses a spherical mercator projection with

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.extra_js
  • References/Python/Django/API/GeoDjango’s admin site

extra_js Sequence of URLs to any extra JavaScript to include.

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.openlayers_url
  • References/Python/Django/API/GeoDjango’s admin site

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

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.default_lat
  • References/Python/Django/API/GeoDjango’s admin site

default_lat The default center latitude.

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.default_lon
  • References/Python/Django/API/GeoDjango’s admin site

default_lon The default center longitude.

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.default_zoom
  • References/Python/Django/API/GeoDjango’s admin site

default_zoom The default zoom level to use. Defaults to 18.

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.modifiable
  • References/Python/Django/API/GeoDjango’s admin site

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

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.map_height
  • References/Python/Django/API/GeoDjango’s admin site

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

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.map_template
  • References/Python/Django/API/GeoDjango’s admin site

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

2025-01-10 15:47:30