public static double getPixelXSize ( BoundingBox webMercatorBoundingBox , long matrixWidth , int tileWidth ) { double pixelXSize = ( webMercatorBoundingBox . getMaxLongitude ( ) - webMercatorBoundingBox . getMinLongitude ( ) ) / matrixWidth / tileWidth ; return pixelXSize ; }
Get the pixel x size for the bounding box with matrix width and tile width