Exemplo n.º 1
0
 public GeoRectangle(float startLat, float startLon, float endLat, float endLon)
 {
     _location    = new GeoPoint(startLat, startLon);
     _locationEnd = new GeoPoint(endLat, endLon);
     _size        = _locationEnd - _location;
 }
Exemplo n.º 2
0
        // public GeoRectangle() { }

        public GeoRectangle(GeoPoint locationStart, GeoPoint locationEnd)
        {
            _location    = locationStart;
            _locationEnd = locationEnd;
            _size        = locationEnd - _location;
        }