public static Point fromLngLat ( @ FloatRange ( from = MIN_LONGITUDE , to = MAX_LONGITUDE ) double longitude , @ FloatRange ( from = MIN_LATITUDE , to = MAX_LATITUDE ) double latitude ) { List < Double > coordinates = CoordinateShifterManager . getCoordinateShifter ( ) . shiftLonLat ( longitude , latitude ) ; return new Point ( TYPE , null , coordinates ) ; }
Create a new instance of this class defining a longitude and latitude value in that respective order . Longitude values are limited to a - 180 to 180 range and latitude s limited to - 90 to 90 as the spec defines . While no limit is placed on decimal precision for performance reasons when serializing and deserializing it is suggested to limit decimal precision to within 6 decimal places .