[Qgis-developer] Highlight geometry when zoom to it

paulopires16 paulopires16 at gmail.com
Thu Sep 24 12:46:50 PDT 2015


Thanks Luigi Pirelli 

I'm trying... 

QgsHighlight(self.iface.mapCanvas(), feature.geometry(), layer)   
QgsHighlight(self.iface.mapCanvas(),
QgsGeometry.fromPoint(QgsPoint(x,y)).buffer(10000,5), layer)
QgsHighlight(self.iface.mapCanvas(),feature.geometry().buffer(10000,5),
layer)
self.iface.mapCanvas().refresh()

Nothing...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Highlight-geometry-when-zoom-to-it-tp5225950p5225995.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list