Have questions? Call us toll-free at 1-866-847-7510 (outside North America, call 1-785-727-4133)

Talk:Map Suite Wpf Desktop Edition

From ThinkGeo Wiki

Jump to: navigation, search

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

Personal tools
Namespaces
Variants
Actions
Products
Data
Add Ons
Navigation
Toolbox
Learn More About Map Suite, Download a Free Trial, or Buy Now

GIS Developer Components for .NET
Map Suite Extensions & Add-Ons
Map Data Sets & Icons

Try Map Suite Free

Map Suite Online Store
sales@thinkgeo.com
1-866-847-7510 (Toll-Free)
1-785-727-4133 (Outside North America)

ThinkGeo LLC
2801 Network Blvd. Suite 215
Frisco, TX 75034
Map Suite Support Center