Skip to content

Commit

Permalink
set extent in one line
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed May 26, 2020
1 parent c8cb8dc commit b53b855
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,7 @@ void Loader::zoomToProject( QgsQuickMapSettings *mapSettings )

if ( hasWMS && ( WMSExtent.length() == 4 ) )
{
extent.setXMinimum(WMSExtent[0].toDouble());
extent.setYMinimum(WMSExtent[1].toDouble());
extent.setXMaximum(WMSExtent[2].toDouble());
extent.setYMaximum(WMSExtent[3].toDouble());
extent.set( WMSExtent[0].toDouble(), WMSExtent[1].toDouble(), WMSExtent[2].toDouble(), WMSExtent[3].toDouble() );
}
else // set layers extent
{
Expand Down

3 comments on commit b53b855

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: arm64-v8a (SDK: android-13)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: armeabi-v7a (SDK: android-13)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-1.4.200526141519 (SDK: ios-4)

Please sign in to comment.