Code example for Marker

Methods: setPosition, setVisible

0
			    				.defaultMarker(BitmapDescriptorFactory.HUE_AZURE)));
				targetLocationMarker.showInfoWindow();
			} 
			else 
			{ 
				targetLocationMarker.setPosition(tLatLng);
			} 
			 
			targetLocationMarker.setVisible(true);
		} 
	}	 
 
	public void showGameBoundary() { 
		if(boundsPolygon == null) {
			boundsPolygon = map.addPolygon(new PolygonOptions()
				.zIndex(0)
				//TODO: show actual match bounds polygon 
				.add(new LatLng(40.3, -111.6), new LatLng(40.4, -111.6), new LatLng(40.4, -111.7), new LatLng(40.3, -111.7))
			    .strokeColor(BLUE)
			    .fillColor(Color.TRANSPARENT));
		}