Fix hard-coded 'layers' param and make it possible to cycle through geotiffs.