public void FitToMarkers() { var rect = _gmapControl.GetRectOfAllMarkers(StandardOverlayName); if (rect != null) { _gmapControl.SetZoomToFitRect(rect.Value); UpdateCurrentCoords(); } }
public void FitToMarkers() { var rect = _gmapControl.GetRectOfAllMarkers(StandardOverlayName); if (rect != null) { _gmapControl.SetZoomToFitRect(rect.Value); UpdateCurrentCoords(); } }