def __init__(self, photos): MapLayer.__init__(self) self.layer_objs = photos self.tool = None self.visible_objs = [] self.selected_path = None self.layer_objs.add_client("map_layer", self)
def __init__(self, data): MapLayer.__init__(self) self.tool = None self.layer_objs = data self.layer_objs.add_client('map_layer', self) self.visible_objs = [] self.selected_path = None self.radius = None
def __init__(self, tool_done_cb=None, obj_modified_cb=None): MapLayer.__init__(self) self.layer_objs = [] self.visible_objs = [] self.dragger = None self.drawing_tool = None self.tool_done_cb = tool_done_cb self.obj_modified_cb = obj_modified_cb
def __init__(self, poi_db): MapLayer.__init__(self) self.poi_db = poi_db self.tool = None self.visible_objs = [] self.selected_path = None self.poi_db.add_client("map_layer", self)
def __init__(self): MapLayer.__init__(self) self.index_zoom = 14 self.markers = {} self.markers_count = 0 self.visible_markers = [] self.slop = 0.2 self.zoom_min = 10 self.label_zoom_min = 13
def __init__(self): MapLayer.__init__(self) self.traffic_overlay = None self.incidents = None self.visible_objs = []
def __init__(self): MapLayer.__init__(self) self.drawing_tool = None self.layer_objs = None self.visible_objs = [] self.selected_path = None
def __init__(self, shapefile): MapLayer.__init__(self) self.sf = Reader(shapefile) self.visible_objs = []