Package mil.nga.geopackage.map.tiles
Class TileBoundingBoxMapUtils
java.lang.Object
mil.nga.geopackage.map.tiles.TileBoundingBoxMapUtils
Tile Bounding Box utility methods relying on Android map libraries
- Since:
- 1.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
getLatitudeDistance
(double minLatitude, double maxLatitude) Get the latitude distancestatic double
getLatitudeDistance
(BoundingBox boundingBox) Get the latitude distancestatic double
getLongitudeDistance
(double minLongitude, double maxLongitude) Get the longitude distance in the middle latitudestatic double
getLongitudeDistance
(double minLongitude, double maxLongitude, double latitude) Get the longitude distance in the middle latitudestatic double
getLongitudeDistance
(BoundingBox boundingBox) Get the longitude distance in the middle latitude
-
Constructor Details
-
TileBoundingBoxMapUtils
public TileBoundingBoxMapUtils()
-
-
Method Details
-
getLongitudeDistance
Get the longitude distance in the middle latitude- Parameters:
boundingBox
- bounding box- Returns:
- distance
-
getLongitudeDistance
public static double getLongitudeDistance(double minLongitude, double maxLongitude) Get the longitude distance in the middle latitude- Parameters:
minLongitude
- min longitudemaxLongitude
- max longitude- Returns:
- distance
-
getLongitudeDistance
public static double getLongitudeDistance(double minLongitude, double maxLongitude, double latitude) Get the longitude distance in the middle latitude- Parameters:
minLongitude
- min longitudemaxLongitude
- max longitudelatitude
- latitude- Returns:
- distance
- Since:
- 1.2.7
-
getLatitudeDistance
Get the latitude distance- Parameters:
boundingBox
- bounding box- Returns:
- distance
-
getLatitudeDistance
public static double getLatitudeDistance(double minLatitude, double maxLatitude) Get the latitude distance- Parameters:
minLatitude
- min latitudemaxLatitude
- max latitude- Returns:
- distance
-