public GeoRectangle(float startLat, float startLon, float endLat, float endLon) { _location = new GeoPoint(startLat, startLon); _locationEnd = new GeoPoint(endLat, endLon); _size = _locationEnd - _location; }
// public GeoRectangle() { } public GeoRectangle(GeoPoint locationStart, GeoPoint locationEnd) { _location = locationStart; _locationEnd = locationEnd; _size = locationEnd - _location; }