/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.mobeegal.android.model;
import com.google.android.maps.GeoPoint;
/**
* @author jailani
*/
public class MapLocation
{
private GeoPoint point;
private String name;
public MapLocation(String name, double latitude, double longitude)
{
this.name = name;
point = new GeoPoint((int) (latitude * 1e6), (int) (longitude * 1e6));
}
public GeoPoint getPoint()
{
return point;
}
public String getName()
{
return name;
}
}