Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top