Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Added documentation for the point_zoom attribute of the GeoModelAdmin class. #192

Closed
wants to merge 1 commit into from

2 participants

Tyler Garner Tim Graham
Tyler Garner

Added documentation for the point_zoom attribute of the GeoModelAdmin class.

Tim Graham
Owner

In the code, I see "The default map settings that may be overloaded -- still subject to API changes." Have you confirmed with the core devs that the attribute will be stable and is safe to document?

If so, it seems like it would be reasonable to also document num_zoom since this value is based on that.

Tim Graham
Owner

Needs more discussion and a decision on public API, please open a ticket if you'd like to get that started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 07, 2012
Tyler Garner garnertb Added documentation for the point_zoom attribute of the GeoModelAdmin
class.
1e20f4c
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  docs/ref/contrib/gis/admin.txt
3  docs/ref/contrib/gis/admin.txt
@@ -46,7 +46,10 @@ GeoDjango's admin site
46 46
47 47 Link to the URL of the OpenLayers JavaScript. Defaults to
48 48 ``'http://openlayers.org/api/2.8/OpenLayers.js'``.
  49 +
  50 + .. attribute:: point_zoom
49 51
  52 + The zoom level to use when the geometry type is a point. Defaults to the number of zoom levels minus 6.
50 53
51 54 .. attribute:: modifiable
52 55

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.