New answers tagged


If you use CSS size definitions in QGIS, it‘s best to use em relative units instead of pt or px. pt/px units are changing with the dpi settings of the Layout.


Although @bartvde's solution works, it's a bit cumbersome to clone the Feature and create bring over ID and properties. Also, there's a risk that something else is missing in the cloned feature. I'd like to propose another solution: feature.unset("boundedBy"); // or "bbox", depending on name of the feature you want to get rid of That's all it takes! ...

Top 50 recent answers are included