Code example for Marker

Methods: getTitlehideInfoWindow

0
	} 
 
	@Override 
	public boolean onMarkerClick(final Marker marker) {
		// TODO Auto-generated method stub 
		marker.hideInfoWindow();
 
		AlertDialog.Builder dialog = new AlertDialog.Builder(context);
		dialog.setTitle(marker.getTitle());
		dialog.setMessage(marker.getSnippet());
 
		dialog.setNegativeButton("cerrar",
				new DialogInterface.OnClickListener() {
 
					@Override 
					public void onClick(DialogInterface dialog, int which) {
						// TODO Auto-generated method stub 
						dialog.cancel();
						LatLng newPos = new LatLng(
								marker.getPosition().latitude + 2, marker
Contextual code suggestions in your IDE  Get Codota for Java