When switching between background layer to static or other background layers, there is a view shift.
At the city level of zoom, it shifts quite far. Verified this happening on the online demo using IE 7 under Vista.
So in implemented the layers in our own project is there any way to prevent this?
Drifting layers
Reggie,
Is there any way you can post a scaled down screen shot to show the before and after? I just want to be 100% sure I know what you mean. My off the cuff guess is that the issue has to do with the different map backgrounds such as Yahoo Maps and Google Maps having slightly different projects and also they do not share the exact same zoom levels. For example the zoom levels for the two different backgrounds are below. When you switch from one to the other we stay at the same zoom level and it will cause the maps to jump around a bit.
There is also a projection difference which means the center point could be different and couple that with the scale difference means some shifting. Of course this is just my guess at this point, I would like to see your screen shots to verify this.
Yahoo Maps
ZoomLevel20.Scale = double.MinValue;
ZoomLevel19.Scale = double.MinValue;
ZoomLevel18.Scale = double.MinValue;
ZoomLevel17.Scale = double.MinValue;
ZoomLevel16.Scale = 13517.573318481445;
ZoomLevel15.Scale = 27035.14663696289;
ZoomLevel14.Scale = 54070.29327392578;
ZoomLevel13.Scale = 108140.58654785156;
ZoomLevel12.Scale = 216281.17309570312;
ZoomLevel11.Scale = 432562.34619140625;
ZoomLevel10.Scale = 865124.6923828125;
ZoomLevel09.Scale = 1730249.384765625;
ZoomLevel08.Scale = 3460498.76953125;
ZoomLevel07.Scale = 6920997.5390625;
ZoomLevel06.Scale = 13841995.078125;
ZoomLevel05.Scale = 27683990.15625;
ZoomLevel04.Scale = 55367980.3125;
ZoomLevel03.Scale = 110735960.625;
ZoomLevel02.Scale = 221471921.25;
ZoomLevel01.Scale = 442943842.5;
Google Maps
ZoomLevel20.Scale = double.MinValue;
ZoomLevel19.Scale = double.MinValue;
ZoomLevel18.Scale = 3379.39332962036125;
ZoomLevel17.Scale = 6758.7866592407225;
ZoomLevel16.Scale = 13517.573318481445;
ZoomLevel15.Scale = 27035.14663696289;
ZoomLevel14.Scale = 54070.29327392578;
ZoomLevel13.Scale = 108140.58654785156;
ZoomLevel12.Scale = 216281.17309570312;
ZoomLevel11.Scale = 432562.34619140625;
ZoomLevel10.Scale = 865124.6923828125;
ZoomLevel09.Scale = 1730249.384765625;
ZoomLevel08.Scale = 3460498.76953125;
ZoomLevel07.Scale = 6920997.5390625;
ZoomLevel06.Scale = 13841995.078125;
ZoomLevel05.Scale = 27683990.15625;
ZoomLevel04.Scale = 55367980.3125;
ZoomLevel03.Scale = 110735960.625;
ZoomLevel02.Scale = 221471921.25;
ZoomLevel01.Scale = 442943842.5;
David