mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #28195 -- Added OSMWidget.default_zoom attribute.
This commit is contained in:
committed by
Tim Graham
parent
d4d812cb56
commit
a7975260b5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user