Skip to content
Permalink
Browse files

Update src/core/layout/qgslayoutitemmapoverview.cpp

Co-Authored-By: elpaso <elpaso@itopen.it>
  • Loading branch information
nyalldawson and elpaso committed Apr 15, 2019
1 parent 23d6ef6 commit 4e244521b30ddf4d69973f070380c4c5c3a59a56
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/layout/qgslayoutitemmapoverview.cpp
@@ -33,7 +33,7 @@

QgsLayoutItemMapOverview::QgsLayoutItemMapOverview( const QString &name, QgsLayoutItemMap *map )
: QgsLayoutItemMapItem( name, map )
, mExtentLayer( qgis::make_unique< QgsVectorLayer >( QStringLiteral( "Polygon?crs=EPSG:4326" ), QStringLiteral( "overview" ), QStringLiteral( "memory" ), QgsVectorLayer::LayerOptions( QgsCoordinateTransformContext() ) ) )
, mExtentLayer( qgis::make_unique< QgsVectorLayer >( QStringLiteral( "Polygon?crs=EPSG:4326" ), QStringLiteral( "overview" ), QStringLiteral( "memory" ), QgsVectorLayer::LayerOptions( map && map->layout() && map->layout()->project() ? map->layout()->project()->transformContext() : QgsCoordinateTransformContext() ) ) )
{
createDefaultFrameSymbol();
}

0 comments on commit 4e24452

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