The default center longitude.
The default center latitude.
The default zoom level to use. Defaults to 18.
Sequence of URLs to any extra JavaScript to include.
Override the template used to generate the JavaScript slippy map. Default is 'gis/admin/openlayers.html'.
Width of the map, in pixels. Defaults to 600.
Height of the map, in pixels. Defaults to 400.
Link to the URL of the OpenLayers JavaScript. Defaults to 'http://openlayers.org/api/2.13/OpenLayers.js'.
Defaults to True. When set to False, disables editing of existing geometry fields in the admin.
Примечание
This is different from adding the geometry field to readonly_fields, which will only display the WKT of the geometry. Setting modifiable=False, actually displays the geometry in a map, but disables the ability to edit its vertices.
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.
Mar 31, 2016