public long lonToPixel(double lon){
  return (long)((lon + 180) / 360 * Math.pow(2,zoom) * 256);
}

public long lonToPixel ( double lon ) { return ( long ) ( ( lon + 180 ) / 360 * Math . pow ( 2 , zoom ) * 256 ) ; }
convert longitude to pixel value
