vis_files/generate_plots.js
/// Zooms in or out from a map
Zooms in or out from a map
Zooms in or out from a map
function mapzoom(fac,x,y)
{
	zoomx += (1-1.0/fac)*map_ratio*(x/mapdx)/zoomfac;
	zoomy += (1-1.0/fac)*(1-y/mapdy)/zoomfac;
	zoomfac *= fac;
	buttoninit();
}
function mapzoom ( fac , x , y ) { zoomx += ( 1 - 1.0 / fac ) * map_ratio * ( x / mapdx ) / zoomfac ; zoomy += ( 1 - 1.0 / fac ) * ( 1 - y / mapdy ) / zoomfac ; zoomfac *= fac ; buttoninit ( ) ; }
Zooms in or out from a map
Zooms in or out from a map