private void setupLegendView(float maxLength) {
		View newView = new View(window.getDefaultView().getCenter(), window.getDefaultView().getSize());
		legendView = newView;
		
		legendBar = new RectangleShape();
		legendBar.setSize(new Vector2f(maxLength, legendView.getSize().y));
		legendBar.setPosition(0,0);
		legendBar.setOutlineThickness(1);
		legendBar.setFillColor(new Color(240, 240, 240, 100));
	}