Package fi.moprim.tmd.sdk.trips.model
Class MapBounds
- java.lang.Object
-
- fi.moprim.tmd.sdk.trips.model.MapBounds
-
public class MapBounds extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MapBounds()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCoordinates(double latitude, double longitude)
static MapBounds
getBoundsOfActivity(TmdActivity activity)
double
getFirstLatitude()
double
getFirstLongitude()
double
getLastLatitude()
double
getLastLongitude()
double
getMaxLatitude()
double
getMaxLongitude()
double
getMinLatitude()
double
getMinLongitude()
int
getSize()
-
-
-
Method Detail
-
addCoordinates
public void addCoordinates(double latitude, double longitude)
-
getSize
public int getSize()
-
getMaxLatitude
public double getMaxLatitude()
-
getMinLatitude
public double getMinLatitude()
-
getMaxLongitude
public double getMaxLongitude()
-
getMinLongitude
public double getMinLongitude()
-
getFirstLatitude
public double getFirstLatitude()
-
getFirstLongitude
public double getFirstLongitude()
-
getLastLatitude
public double getLastLatitude()
-
getLastLongitude
public double getLastLongitude()
-
getBoundsOfActivity
@NonNull public static MapBounds getBoundsOfActivity(TmdActivity activity)
-
-