Skip to content
Permalink
Browse files

Fix for projection/ellipsoid

  • Loading branch information
homann committed Aug 23, 2012
1 parent 95a032a commit edb2a7f58f06ea2b8ae5dc03891f7d15b88c744d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposerscalebar.cpp
@@ -188,7 +188,7 @@ double QgsComposerScaleBar::mapDiagonal() const
else
{
QgsDistanceArea da;
da.setEllipsoidalEnabled( true );
da.setEllipsoidalEnabled( mComposerMap->mapRenderer()->hasCrsTransformEnabled() );
da.setSourceCrs( mComposerMap->mapRenderer()->destinationCrs().srsid() );
QSettings s;
da.setEllipsoid( s.value( "/qgis/measure/ellipsoid", "WGS84" ).toString() );

0 comments on commit edb2a7f

Please sign in to comment.
You can’t perform that action at this time.