Code example for PolylineOptions

Methods: color

0
					Toast.LENGTH_SHORT).show();
		} 
	} 
 
	private void addFlightPathToMap() { 
		PolylineOptions flightPathOptions = new PolylineOptions();
		flightPathOptions.color(Color.argb(180, 0, 0, 200)).width(2).zIndex(1);
		flightPath = mMap.addPolyline(flightPathOptions);
	} 
 
	@Override 
	public void onMapLongClick(LatLng coord) {
		getPreferences(); 
		if (isGuidedModeEnabled) {
			drone.guidedPoint.newGuidedPoint(coord);
			markers.updateMarker(drone.guidedPoint, false,getActivity().getApplicationContext());
		} 
	} 
 
	public void updateFragment() { 
		missionPath.update(drone.mission);