@ Deprecated public static BoundingBox fromCoordinates ( @ FloatRange ( from = MIN_LONGITUDE , to = GeoJsonConstants . MAX_LONGITUDE ) double west , @ FloatRange ( from = MIN_LATITUDE , to = GeoJsonConstants . MAX_LATITUDE ) double south , @ FloatRange ( from = MIN_LONGITUDE , to = GeoJsonConstants . MAX_LONGITUDE ) double east , @ FloatRange ( from = MIN_LATITUDE , to = GeoJsonConstants . MAX_LATITUDE ) double north ) { return fromLngLats ( west , south , east , north ) ; }
Define a new instance of this class by passing in four coordinates in the same order they would appear in the serialized GeoJson form . Limits are placed on the minimum and maximum coordinate values which can exist and comply with the GeoJson spec .