예제 #1
0
        public void UpdateDataWorldRect(List <Point> geoPoint)
        {
            if (geoPoint == null || geoPoint.Count == 0)
            {
                return;
            }

            var geoRect = GeoCalculator.GetRect(geoPoint);

            if (!geoRect.IsEmpty)
            {
                this.DataWorldRect = geoRect;
            }
        }
예제 #2
0
        public void UpdateDataWorldRect(List <IGeoLocatable> geoLocations)
        {
            if (geoLocations == null || geoLocations.Count == 0)
            {
                return;
            }

            var geoRect = GeoCalculator.GetRect(geoLocations);

            if (!geoRect.IsEmpty)
            {
                this.DataWorldRect = geoRect;
            }
        }