function convertEPSG3857toScreenXY(lat,lon){
	var xlat,ylon
	xlat = 20026376 + Math.floor(lat);
	ylon = 20048966 - Math.floor(lon);
	//console.log(lat,lon);
	return {x:xlat,y:ylon};
	//return [lat,lon];
}
//Math.floor because I don't care about percents of a meter.
Math.floor because I don't care about percents of a meter.
Math . floor because I don ' t care about percents of a meter .
function convertEPSG3857toScreenXY(lat,lon){
	var xlat,ylon
	xlat = 20026376 + Math.floor(lat);
	ylon = 20048966 - Math.floor(lon);
	return {x:xlat,y:ylon};
}
function convertEPSG3857toScreenXY ( lat , lon ) { var xlat , ylon xlat = 20026376 + Math . floor ( lat ) ; ylon = 20048966 - Math . floor ( lon ) ; return { x : xlat , y : ylon } ; }
Math.floor because I don't care about percents of a meter.
Math . floor because I don ' t care about percents of a meter .
//console.log(lat,lon); //return [lat,lon];