After adding multiple layers, I want to remove map part from background to show my layers as schematric diagram. Is there any way possible to remove map from map control and show only layer diagrams.

有帮助吗?

解决方案

I've got the solution. Changing Map mode to MercatorMode did the trick. So I added a button in navigation bar to change the mode. Which is something like this

ChangeMapModeButton schematicButton = new ChangeMapModeButton(new MercatorMode(), "Schematic", "Schematic View");
navControl.HorizontalPanel.Children.Add(schematicButton);

I'm not sure if this is the best method or not, but it did the trick.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top