コード例 #1
0
ファイル: inasafe_lightmaps.py プロジェクト: jjdida25/inasafe
 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()
コード例 #2
0
 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()
コード例 #3
0
ファイル: inasafe_lightmaps.py プロジェクト: jjdida25/inasafe
 def __init__(self, theParent=None):
     SlippyMap.__init__(self, theParent)
     self.brLat, self.brLng, self.tlLat, self.tlLng = 0, 0, 0, 0
コード例 #4
0
 def __init__(self, theParent=None):
     SlippyMap.__init__(self, theParent)
     self.brLat, self.brLng, self.tlLat, self.tlLng = 0, 0, 0, 0