Code example for MarkerOptions

Methods: draggable, icon, position, title

0
		lng = getIntent().getDoubleExtra("LNG", 0);
	} 
 
	private void updateMap() { 
		LatLng latLng = new LatLng(lat, lng);
		MarkerOptions markerOptions = new MarkerOptions();
		markerOptions.title("");
		markerOptions.icon(BitmapDescriptorFactory.defaultMarker());
		markerOptions.position(latLng);
		markerOptions.draggable(true);
		mapView.addMarker(markerOptions);
 
		mapView.animateCamera(CameraUpdateFactory.newLatLngZoom(latLng, 16));
 
		Utility.getAddressByCoordinate(lat, lng, new LocationAddressHandler());
 
	} 
 
	private class LocationAddressHandler extends Handler {
		@Override 
		public void handleMessage(Message message) {