src/us/socialgoodworking/mocklocation/Routes.java
public void addPoint(String routeName, LatLng point) {
		Route r = null;
		if ( routes.containsKey(routeName))
			r = routes.get(routeName);
		else {
			r = new Route();
			routes.put(routeName, r);
		}

		r.points.add(point);
	}
/**
	 * Adds a LatLng to the route identified by routeName. If the route
	 * doesn't exist, the point gets added to a newly created route.
	 * Note that there's no check for duplicate points within a route.
	 * 
	 * @param routeName
	 * @param point a LatLng object
	 */
Adds a LatLng to the route identified by routeName. If the route
doesn't exist, the point gets added to a newly created route.
Note that there's no check for duplicate points within a route.

@param routeName
@param point a LatLng object
Adds a LatLng to the route identified by routeName . If the route doesn ' t exist the point gets added to a newly created route . Note that there ' s no check for duplicate points within a route . @param routeName @param point a LatLng object
public void addPoint(String routeName, LatLng point) {
		Route r = null;
		if ( routes.containsKey(routeName))
			r = routes.get(routeName);
		else {
			r = new Route();
			routes.put(routeName, r);
		}
		r.points.add(point);
	}
public void addPoint ( String routeName , LatLng point ) { Route r = null ; if ( routes . containsKey ( routeName ) ) r = routes . get ( routeName ) ; else { r = new Route ( ) ; routes . put ( routeName , r ) ; } r . points . add ( point ) ; }
Adds a LatLng to the route identified by routeName.
Adds a LatLng to the route identified by routeName .