Code example for Marker

Methods: setPosition, setTitle, setVisible

0
			MYLOCATION = new LatLng(lat, lng);
		else 
			MYLOCATION=new LatLng(setDragLat,setDragLong);
		// Log.v(TAG, ""+hamburg.toString()); 
		if(myMarker!=null){
			myMarker.setPosition(MYLOCATION);
			myMarker.setTitle(myMessage);
			myMarker.setVisible(true);
			 
		} 
		mMap.moveCamera(CameraUpdateFactory.newLatLng(MYLOCATION));
	} 
 
	@Override 
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.main, menu);
		return true; 
	} 
	 
	@Override 
	public void onBackPressed() {