[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Wed Jan 19 18:12:00 CET 2011
SVN commit 1215796 by beschow:
forward-port r1215779: allow panning also outside valid zoom ranges
M +0 -4 MarbleMap.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleMap.cpp #1215795:1215796
@@ -1240,10 +1240,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