function go()
{

	document.getElementById("knappen").style.background="#bb0000";

	the_file = document.getElementById("file_sel").files[0];
	layerName = the_name=the_file.name.split('.')[0];

	layers[layerName]={"the_file":the_file};

	var reader = new FileReader();
	reader.onload = function(e) 
	{
		scan_file(new Uint8Array(reader.result), layerName);
	}
	reader.readAsArrayBuffer(the_file);
}
//This is where we start the bbox-calculations and index-building
This is where we start the bbox-calculations and index-building
This is where we start the bbox - calculations and index - building
function go()
{
	document.getElementById("knappen").style.background="#bb0000";
	the_file = document.getElementById("file_sel").files[0];
	layerName = the_name=the_file.name.split('.')[0];
	layers[layerName]={"the_file":the_file};
	var reader = new FileReader();
	reader.onload = function(e) 
	{
		scan_file(new Uint8Array(reader.result), layerName);
	}
	reader.readAsArrayBuffer(the_file);
}
function go ( ) { document . getElementById ( "knappen" ) . style . background = "#bb0000" ; the_file = document . getElementById ( "file_sel" ) . files [ 0 ] ; layerName = the_name = the_file . name . split ( '.' ) [ 0 ] ; layers [ layerName ] = { "the_file" : the_file } ; var reader = new FileReader ( ) ; reader . onload = function ( e ) { scan_file ( new Uint8Array ( reader . result ) , layerName ) ; } reader . readAsArrayBuffer ( the_file ) ; }
This is where we start the bbox-calculations and index-building
This is where we start the bbox - calculations and index - building