Code example for Marker

Methods: remove

		m3 = map.addMarker(new MarkerOptions()
		// Bottom right marker 
		if (m4 != null) m4.remove();
		m4 = map.addMarker(new MarkerOptions()
	private class GeocoderTask extends AsyncTask<String, Void, List<Address>>{
	        protected List<Address> doInBackground(String... locationName) {
	            // Creating an instance of Geocoder class 
	            Geocoder geocoder = new Geocoder(getBaseContext());
	            List<Address> addresses = null;
	            try { 
	                // Getting a maximum of 3 Address that matches the input text