I personally think that it's a bad idea, when more OSM data shall be
downloaded, to alter the map and the viewport at the same time. This is
what happens right now. When you're running out of loaded data and want
to load some more, that map contents change. But if that wasn't enough,
the view on the map also changes to something smaller. So at first, you
lose any orientiation and need to zoom in again to where you have just
been, to continue what you have just done.

This patch simply disables the single line of code that does that jump.
It's also a much better experience to see the map features actually
appear in the same place where none/few have been before. You get what
you want, where you want it. Ideal user feedback.

-- 
Yves Goergen "LonelyPixel" <[email protected]>
Visit my web laboratory at http://beta.unclassified.de
--- merkaartor\Map\DownloadOSM.cpp.orig Fri Jan 02 23:21:13 2009
+++ merkaartor\Map\DownloadOSM.cpp      Sun Jan 04 20:36:37 2009
@@ -600,7 +600,7 @@
        {
                theDocument->setLastDownloadLayer(theLayer);
                theDocument->addDownloadBox(aBox);
-               
aParent->view()->projection().setViewport(aBox,aParent->view()->rect());
+               
//aParent->view()->projection().setViewport(aBox,aParent->view()->rect());
                aParent->invalidateView();
        }
        return OK;
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to