[QGIS-Developer] QgsHighlight disappears

Denis Rouzaud denis.rouzaud at gmail.com
Mon Jun 19 06:04:16 PDT 2017


I did some changes so that QgsMapCanvasItems get updated on map pan.
But looking into QgsHightLight::updatePosition() shows nothing is done in
there.

DId it use to work?


Le lun. 19 juin 2017 à 14:44, Radim Blazek <radim.blazek at gmail.com> a
écrit :

> Hi,
> I found that QgsHighlight disappeares if it is created when it is
> outside of canvas extent and then the extent is panned so that it
> should become visible. It is visible while panning.
>
> QGIS master, QgsHighlight created from QgsGeometry with
> QgsHighlight(QgsMapCanvas *mapCanvas, const QgsGeometry &geom,
> QgsVectorLayer *layer ) in Python.
>
> Any idea?
>
> Radim
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170619/f9127e43/attachment.html>


More information about the QGIS-Developer mailing list