Guest User

Untitled

a guest
Oct 19th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. def onFeatureIdentified(self, ff):
  2. print("feature selected")
  3.  
  4. def run(self):
  5. f = QgsMapToolIdentifyFeature(self.iface.mapCanvas(), self.iface.activeLayer())
  6. f.featureIdentified.connect(self.onFeatureIdentified)
Add Comment
Please, Sign In to add comment