com.drismo.model
Class MapPoint

java.lang.Object
  extended by 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

Field Summary
 int color
           
 float latitude
           
 float longitude
           
 int score
           
 float speed
           
 
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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MapPoint

public MapPoint(float lats,
                float longs,
                int colors,
                int sco,
                float sp)
Constructor used for initializing primitive values.

Parameters:
lats - Latitude
longs - Longitude
colors - this point's color
sco - this score
sp - 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 Latitude
longs - String value of Longitude
colors - this point's color
sco - this score
sp - String value of current speed