Esempio n. 1
0
class TrackerForm(forms.Form):
    collection = forms.GeometryCollectionField(widget=ReadonlyOSMWidget(
        attrs={
            'map_width': 800,
            'map_height': 500,
            'map_srid': 4326,
        }))
Esempio n. 2
0
 class GeometryForm(forms.Form):
     g = forms.GeometryCollectionField()