def invalidate(self, theEmitSignal=True): """ Function that called every time the widget is updated Params: * theEmitSignal : bool - if true then the widget will emit signal "updated" """ SlippyMap.invalidate(self, theEmitSignal) self.calculateExtent()
def __init__(self, theParent=None): SlippyMap.__init__(self, theParent) self.brLat, self.brLng, self.tlLat, self.tlLng = 0, 0, 0, 0