Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top