Exemplo n.º 1
0
 def __init__(self, fields=None, options=None, **kwargs):
     options = utils.get_options(options)
     options["editable"] = False
     super(MapDisplay, self).__init__(options, **kwargs)
     if fields:
         self.wkt = utils.collection_ewkt(fields)
     else:
         self.wkt = ""
Exemplo n.º 2
0
 def __init__(self, fields=None, options=None, **kwargs):
     options = utils.get_options(options)
     options['editable'] = False
     super(MapDisplay, self).__init__(options, **kwargs)
     if fields:
         self.wkt = utils.collection_ewkt(fields)
     else:
         self.wkt = ""