Code example for GoogleMap

Methods: isMyLocationEnabled

0
	 * return my current location 
	 *  
	 * @return 
	 */ 
	public static Location getMyLocation() {
		if (!map.isMyLocationEnabled()) {
			showMyLocation(); 
		} 
 
		return map.getMyLocation();
	} 
 
	/** 
	 * show my current location 
	 */ 
	public static void showMyLocation() { 
		map.setMyLocationEnabled(true);
	} 
 
	/** 
	 * animate to specific location