com.drismo.model
Class MapPoint
java.lang.Object
com.drismo.model.MapPoint
public class MapPoint
- extends java.lang.Object
Small class to define a point, with geo location/score/color
- See Also:
ViewTrip
Constructor Summary |
MapPoint(float lats,
float longs,
int colors,
int sco,
float sp)
Constructor used for initializing primitive values. |
MapPoint(java.lang.String lats,
java.lang.String longs,
int colors,
int sco,
java.lang.String sp)
Constructor used for initializing non-parsed values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
longitude
public final float longitude
latitude
public final float latitude
color
public final int color
score
public final int score
speed
public final float speed
MapPoint
public MapPoint(float lats,
float longs,
int colors,
int sco,
float sp)
- Constructor used for initializing primitive values.
- Parameters:
lats
- Latitudelongs
- Longitudecolors
- this point's colorsco
- this scoresp
- current speed
MapPoint
public MapPoint(java.lang.String lats,
java.lang.String longs,
int colors,
int sco,
java.lang.String sp)
- Constructor used for initializing non-parsed values.
- Parameters:
lats
- String value of Latitudelongs
- String value of Longitudecolors
- this point's colorsco
- this scoresp
- String value of current speed