Skip to content

Commit

Permalink
todos for layout after rebase (some more)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Dec 15, 2017
1 parent a421939 commit 86964f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/layout/qgslayoutitemmap.cpp
Expand Up @@ -995,7 +995,8 @@ QgsMapSettings QgsLayoutItemMap::mapSettings( const QgsRectangle &extent, QSizeF
jobMapSettings.setFlag( QgsMapSettings::DrawSelection, false );
jobMapSettings.setFlag( QgsMapSettings::UseAdvancedEffects, mLayout->context().flags() & QgsLayoutContext::FlagUseAdvancedEffects );

jobMapSettings.datumTransformStore().setDestinationCrs( renderCrs );
// todo datum nyall
//jobMapSettings.datumTransformStore().setDestinationCrs( renderCrs );

jobMapSettings.setLabelingEngineSettings( mLayout->project()->labelingEngineSettings() );

Expand Down Expand Up @@ -1496,6 +1497,7 @@ QPointF QgsLayoutItemMap::layoutMapPosForItem( const QgsAnnotation *annotation )
if ( annotationCrs != crs() )
{
//need to reproject
// todo datum nyall set context
QgsCoordinateTransform t( annotationCrs, crs() );
double z = 0.0;
try
Expand Down

0 comments on commit 86964f6

Please sign in to comment.