Skip to content
Permalink
Browse files

Improve zoom in behaviour when WFS fetch limit was reached

  • Loading branch information
tomtor committed Dec 1, 2015
1 parent e60c9de commit ae4a15db2b18e9f63da939bdb6d97b3dbd77c02b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/wfs/qgswfsprovider.cpp
@@ -1737,7 +1737,8 @@ void QgsWFSProvider::extendExtent( const QgsRectangle &extent )

QgsRectangle r( mExtent.intersect( &extent ) );

if ( mGetExtent.contains( r ) )
if ( (extent == mGetExtent || mFeatureCount == 0 || mFeatureCount % 500 != 0)
&& mGetExtent.contains( r ) )
return;

#if 0

0 comments on commit ae4a15d

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