public void UpdateDataWorldRect(List <Point> geoPoint) { if (geoPoint == null || geoPoint.Count == 0) { return; } var geoRect = GeoCalculator.GetRect(geoPoint); if (!geoRect.IsEmpty) { this.DataWorldRect = geoRect; } }
public void UpdateDataWorldRect(List <IGeoLocatable> geoLocations) { if (geoLocations == null || geoLocations.Count == 0) { return; } var geoRect = GeoCalculator.GetRect(geoLocations); if (!geoRect.IsEmpty) { this.DataWorldRect = geoRect; } }