private void RedrawElement(MapElement Element) { if (Element.TestVisual(VisibleArea)) { if (Element.AttachedVisual != null) { Element.RedrawVisual(ZoomLevel); } else { VisualizeElement(Element); } } else { HideElement(Element); } }
private void RedrawElement(MapElement Element) { if (Element.TestVisual(VisibleArea)) { if (Element.AttachedVisual != null) { Element.RedrawVisual(ZoomLevel); } else { VisualizeElement(Element); } } else { HideElement(Element); } }