문제

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