コード例 #1
0
    def __init__(self, map_canvas):
        QgsMapCanvasSnappingUtils.__init__(self, map_canvas)
        self.filter = CounterMatchFilter()

        # This manages the priority of the snapping layers. The earlier in the list, the higher the priority.
        # Can be used to prefer points (wastewater nodes) over lines (reaches)
        self.layer_priority = list()
コード例 #2
0
 def __init__(self, map_canvas):
     QgsMapCanvasSnappingUtils.__init__(self, map_canvas)
コード例 #3
0
ファイル: qgepmaptools.py プロジェクト: QGEP/qgepplugin
 def __init__(self, map_canvas):
     QgsMapCanvasSnappingUtils.__init__(self, map_canvas)