Posted By Ryan on 12-09-2011 05:53 PM
Hi sumeth,
I setup a sample to load the different layers have you but did not have all of the same results.
1. The Bing Maps Layer displays properly in the MiniMap when displaying Aerial, Hybrid, Oblique, Road, and Shaded options when set in source code.
2. The Yahoo Maps have an issue. I have reported this to the development team for further review.
3. In panning and zooming using the WMS Overlay I did not see any issues. Did you perhaps change the Map1.MapUnit to a different value? Also in your screenshot it seems you have the WMS Overlay enabled as well as some additional overlays. Are these addtional Overlays in the same projection as the WMS Overlay which is in Geodetic/WGS84/DecimalDegrees?
1.Video for Bing Map : mediafire.com/?hcrmv5a73vqkp9k
I use page UseBingMap in sample code.
3. Video for wms :mediafire.com/?631fpekxf0n22t1
I edit code in LoadAWmsOverlay page from sample code :
public partial class LoadAWmsOverlay : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Map1.MapBackground.BackgroundBrush = new GeoSolidBrush(GeoColor.StandardColors.White);
Map1.CurrentExtent = new RectangleShape(10836250.0472719, 2328225.56066376, 11759466.9830867, 625833.622052803);
Map1.MapUnit = GeographyUnit.Meter;
WmsOverlay wms = new WmsOverlay("WMS Overlay");
wms.Parameters.Add("layers", "Countries02");
wms.Parameters.Add("STYLE", "SIMPLE");
wms.ServerUris.Add(new Uri("wmssamples.thinkgeo.com/WmsServer.aspx"));
wms.TileType = TileType.MultipleTile;
wms.TileHeight = 256;
wms.TileWidth = 256;
wms.SetBaseEpsgProjection("EPSG:900913");
Map1.CustomOverlays.Add(wms);
Map1.MapTools.MiniMap.Enabled = true;
}
}
}
and I test with not set projection(Original code). I think It has problem when panning.
this video : mediafire.com/?9z89yo3c4j3jnbs