Skip to content
Permalink
Browse files
Add missing meters at scale unit type for the heatmap and point clust…
…ering renderer widgets
  • Loading branch information
nirvn authored and nyalldawson committed Nov 1, 2021
1 parent 08fc696 commit 93d83b83516e05115d556b945389b7764b30cd05
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/symbology/qgsheatmaprendererwidget.cpp
  2. +1 −1 src/gui/symbology/qgspointclusterrendererwidget.cpp
@@ -98,7 +98,7 @@ QgsHeatmapRendererWidget::QgsHeatmapRendererWidget( QgsVectorLayer *layer, QgsSt
connect( mQualitySlider, &QSlider::valueChanged, this, &QgsHeatmapRendererWidget::mQualitySlider_valueChanged );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mRadiusUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderPixels << QgsUnitTypes::RenderMapUnits
mRadiusUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderMetersInMapUnits << QgsUnitTypes::RenderPixels << QgsUnitTypes::RenderMapUnits
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );
mWeightExpressionWidget->registerExpressionContextGenerator( this );
mWeightExpressionWidget->setAllowEmptyFieldName( true );
@@ -56,7 +56,7 @@ QgsPointClusterRendererWidget::QgsPointClusterRendererWidget( QgsVectorLayer *la
connect( mRendererSettingsButton, &QPushButton::clicked, this, &QgsPointClusterRendererWidget::mRendererSettingsButton_clicked );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mDistanceUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderMapUnits << QgsUnitTypes::RenderPixels
mDistanceUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderMetersInMapUnits << QgsUnitTypes::RenderMapUnits << QgsUnitTypes::RenderPixels
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );

mCenterSymbolToolButton->setSymbolType( Qgis::SymbolType::Marker );

0 comments on commit 93d83b8

Please sign in to comment.