Skip to content
Permalink
Browse files

todos for layout after rebase (some more)

  • Loading branch information
3nids authored and nyalldawson committed Nov 27, 2017
1 parent a421939 commit 86964f6546a366d42c91755d9dd298fd4f10e6fa
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/layout/qgslayoutitemmap.cpp
@@ -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() );

@@ -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

0 comments on commit 86964f6

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