Code example for Marker

Methods: showInfoWindow

0
		editor.commit();
 
		CameraUpdate update = CameraUpdateFactory.newLatLngZoom(point,myMap.getMaxZoomLevel()-4); 
		myMap.animateCamera(update);
		Marker marker = myMap.addMarker(new MarkerOptions().position(point).title("This location?"));
		marker.showInfoWindow();
		// create interactive dialog window 
		PopupandDialogHandler insertinfo = new PopupandDialogHandler(mCtx);
		insertinfo.confirmLocationPopup(marker, myMap); 
 
	} 
 
	/* 
	 * (non-Javadoc) 
	 * @see com.google.android.gms.maps.GoogleMap.OnMarkerClickListener#onMarkerClick(com.google.android.gms.maps.model.Marker) 
	 * Creates a infowindow so the user can see all the info of the marker they have pressed 
	 */ 
	@Override 
	public boolean onMarkerClick(Marker marker) {
		MarkerHandler infowindow = new MarkerHandler();
		infowindow.showInfo(mCtx, marker.getPosition(), mCtx.getResources(), myMap);