Code example for PolylineOptions

0
	 
	public GPSLocationReceiver(RecordActivity activity)
	{ 
		super(); 
		this.activity = activity;
		route = new PolylineOptions().width(3).color(Color.BLUE);
		recordOn = false;
	} 
	 
	public void setRecordOn(boolean recordOn)
	{ 
		this.recordOn = recordOn;
	} 
	 
	public boolean switchRecordOn() 
	{ 
		recordOn = !recordOn;
		return recordOn;
	} 
	 
	@Override