Hi,
We bought World Map Kit (online option). Watermarks disappeared from our main map, but we still have them on our clearing pages. Generic handler page generates image using WorldMapKitLayer as a background. Main page uses overlay - WorldMapKitWmsWebOverlay.
My question is: how can we get rid of this logo on our clearing pages?
Below is some my code to draw image
...
WorldMapKitLayer worldImageLayer = new WorldMapKitLayer();
LayerOverlay staticOverlay = new LayerOverlay("StaticOverlay");
staticOverlay.IsBaseOverlay = true;
staticOverlay.Layers.Add(worldImageLayer);
staticOverlay.Layers.Add(featuredPropertiesLayer);
staticOverlay.Layers.Add(rawProspectLayer);
...
Map Map1 = new Map("WorldMap", imageWidth, imageHeight);
Map1.MapUnit = GeographyUnit.DecimalDegree;
Map1.CustomOverlays.Add(staticOverlay);
Map1.CurrentExtent = currentExtent;
GeoImage image = GdiPlusGeoCanvas.CreateGeoImage(imageWidth, imageHeight);
GdiPlusGeoCanvas canvas = new GdiPlusGeoCanvas();
canvas.BeginDrawing(image, Map1.CurrentExtent, GeographyUnit.DecimalDegree);
canvas.Clear(new GeoSolidBrush(GeoColor.StandardColors.White));
foreach (Layer layer in staticOverlay.Layers)
{
layer.Open();
layer.Draw(canvas, new Collection<simplecandidate></simplecandidate>());
layer.Close();
}
canvas.EndDrawing();