Вопрос

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