diff options
Diffstat (limited to 'android/YoPme/src/com/mapswithme/yopme/PoiPoint.java')
-rw-r--r-- | android/YoPme/src/com/mapswithme/yopme/PoiPoint.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/android/YoPme/src/com/mapswithme/yopme/PoiPoint.java b/android/YoPme/src/com/mapswithme/yopme/PoiPoint.java new file mode 100644 index 0000000000..717ea5af00 --- /dev/null +++ b/android/YoPme/src/com/mapswithme/yopme/PoiPoint.java @@ -0,0 +1,22 @@ +package com.mapswithme.yopme; + +import java.io.Serializable; + +public class PoiPoint implements Serializable +{ + private static final long serialVersionUID = 1L; + private final double mLon; + private final double mLat; + private final String mName; + + public PoiPoint(double lat, double lon, String name) + { + mLat = lat; + mLon = lon; + mName = name; + } + + public String getName() { return mName; } + public double getLat() { return mLat; } + public double getLon() { return mLon; } +}
\ No newline at end of file |