mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Fixed #28195 -- Added OSMWidget.default_zoom attribute.
This commit is contained in:
parent
d4d812cb56
commit
a7975260b5
5 changed files with 17 additions and 2 deletions
|
|
@ -185,6 +185,12 @@ Widget classes
|
|||
The default center latitude and longitude are ``47`` and ``5``,
|
||||
respectively, which is a location in eastern France.
|
||||
|
||||
.. attribute:: default_zoom
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
The default map zoom is ``12``.
|
||||
|
||||
The :class:`OpenLayersWidget` note about JavaScript file hosting above also
|
||||
applies here. See also this `FAQ answer`_ about ``https`` access to map
|
||||
tiles.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue