[Marble-commits] branches/KDE/4.6/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Wed Jan 19 17:53:05 CET 2011
SVN commit 1215779 by beschow:
allow panning also outside valid zoom ranges
M +0 -4 MarbleMap.cpp
--- branches/KDE/4.6/kdeedu/marble/src/lib/MarbleMap.cpp #1215778:1215779
@@ -1263,10 +1263,6 @@
void MarbleMap::flyTo( const GeoDataLookAt &lookAt )
{
- int zoom = zoomFromDistance( lookAt.range() * METER2KM );
- if ( zoom < minimumZoom() || zoom > maximumZoom() )
- return; // avoid moving when zooming is impossible
-
setDistance( lookAt.range() * METER2KM );
GeoDataCoordinates::Unit deg = GeoDataCoordinates::Degree;
centerOn( lookAt.longitude( deg ), lookAt.latitude( deg ) );
More information about the Marble-commits
mailing list