Talk:Map Suite Wpf Desktop Edition
From ThinkGeo Wiki
how to customize TiledWmsLayer object
We display world map using
TiledWmsLayer tiledWmsLayer = new TiledWmsLayer(new Uri("http://localhost/WorldMapKitServer/WmsServer.axd"));
tiledWmsLayer.ActiveLayerNames.Add("WorldMapKitLayer");
tiledWmsLayer.ActiveStyleNames.Add("WorldMapKitDefaultStyle");
LayerOverlay staticOverlay = new LayerOverlay();
staticOverlay.Layers.Add("WorldMapKitServer", tiledWmsLayer);
enterpriseMap.Overlays.Add(staticOverlay);
How can we customize this. Fir example
1 set a particular zoomlevel 2 make sure city names are not shown when zoomed in ( only projections of cities that we want is shown) 3 and when zoomed in, the detailed map that shows up, should not come from Internet, but should be read from the Map data on the DVD