Hi,
I want to add the World background to my website. I own the World Map Kit SDK, so I added this code to my PageLoad function:
WorldMapKitRenderLayer worldMapKitRenderLayer =
new
WorldMapKitRenderLayer(@
"C:\Program Files (x86)\dFuzion\WorldMap"
);
worldMapKitRenderLayer.LoadLayers();
LayerOverlay worldMapKitRenderLayerOverlay =
new
LayerOverlay();
worldMapKitRenderLayerOverlay.Layers.Add(worldMapKitRenderLayer);
Map1.CustomOverlays.Add(worldMapKitRenderLayerOverlay);
Unfortunately, it is taking too long to load - I am just loading it from my local computer to my localhost test environment.
When I do the online WorldMapKitWmsWebOverlay in the PageLoad function, the website works as expected:
WorldMapKitWmsWebOverlay worldMapKitOverlay =
new
WorldMapKitWmsWebOverlay(
"World"
);
Map1.CustomOverlays.Add(worldMapKitOverlay);
Is there anything I need to do to the World Map Kit SDK to make it load faster in my website?
Thanks!
Treasa