From 680968b9e42d63f9a3ee929ebd6afdef06999d24 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Fri, 12 May 2017 17:24:53 +0200 Subject: [PATCH] Documented OSMWidget.default_lat/lon. --- docs/ref/contrib/gis/forms-api.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/ref/contrib/gis/forms-api.txt b/docs/ref/contrib/gis/forms-api.txt index 51dfa4ad182..32cdd51dade 100644 --- a/docs/ref/contrib/gis/forms-api.txt +++ b/docs/ref/contrib/gis/forms-api.txt @@ -173,7 +173,17 @@ Widget classes .. class:: OSMWidget This widget uses an OpenStreetMap base layer to display geographic objects - on. ``template_name`` is ``gis/openlayers-osm.html``. + on. Attributes are: + + .. attribute:: template_name + + ``gis/openlayers-osm.html`` + + .. attribute:: default_lat + .. attribute:: default_lon + + The default center latitude and longitude are ``47`` and ``5``, + respectively, which is a location in eastern France. The :class:`OpenLayersWidget` note about JavaScript file hosting above also applies here. See also this `FAQ answer`_ about ``https`` access to map