Remove Red Cross WPF

Topics: WPF
Aug 4, 2011 at 12:49 PM

I am using greatmaps in WPF and I have already tried disabling the red cross by doing

mainMap.ShowCenter=false

but the Red Cross remains in the middle. Any help is appreciated.

Coordinator
Aug 4, 2011 at 2:20 PM
Edited Aug 4, 2011 at 2:21 PM

call map.InvalidateVisual();

Aug 4, 2011 at 3:56 PM

Did that and it still doesn't remove the red cross

Coordinator
Aug 4, 2011 at 5:58 PM

i don't believe you ;}

Feb 1, 2012 at 3:22 PM

Under which event should the ShowCenter property and InvalidateVisual method be called to remove the cross? I tried this in the wondow constructor with no luck.

Thank you.

Coordinator
Feb 1, 2012 at 6:28 PM

it doesn't matter where, it works perfectly as expected, wake up ;}