class documentation

class OSMWidget(OpenLayersWidget):

View In Hierarchy

An OpenLayers/OpenStreetMap-based widget.
Class Variable default​_lat Undocumented
Class Variable default​_lon Undocumented
Class Variable default​_zoom Undocumented
Class Variable template​_name Undocumented
Method __init__ Undocumented

Inherited from OpenLayersWidget:

Class ​Media Undocumented
Method deserialize Undocumented
Method serialize Undocumented
Class Variable map​_srid Undocumented

Inherited from BaseGeometryWidget (via OpenLayersWidget):

Class Variable display​_raw Undocumented
Class Variable geom​_type Undocumented
Class Variable map​_height Undocumented
Class Variable map​_width Undocumented
Class Variable supports​_3d Undocumented
Method get​_context Undocumented
Instance Variable attrs Undocumented

Inherited from Widget (via OpenLayersWidget, BaseGeometryWidget):

Method __deepcopy__ Undocumented
Method ​_render Undocumented
Method build​_attrs Build an attribute dictionary.
Method format​_value Return a value as it should appear when rendered in a template.
Method id​_for​_label Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return None if no ID is available.
Method render Render the widget as an HTML string.
Method subwidgets Undocumented
Method use​_required​_attribute Undocumented
Method value​_from​_datadict Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided.
Method value​_omitted​_from​_data Undocumented
Class Variable is​_localized Undocumented
Class Variable is​_required Undocumented
Class Variable needs​_multipart​_form Undocumented
Class Variable supports​_microseconds Undocumented
Property is​_hidden Undocumented
default_lat: int =

Undocumented

default_lon: int =

Undocumented

default_zoom: int =

Undocumented

template_name: str =
def __init__(self, attrs=None):