Convert a bbox of the form [w, s, e, n] to a tile's bounding box in the form of [minX, maxX, minY, maxY] The bbox can be in lon-lat (WGS84) or WebMercator (900913) The default expectation is in WebMercator (900913)
[w, s, e, n]
the bounding box
the zoom level
if true, the y is inverted
the source
in pixels
Convert a bbox of the form
[w, s, e, n]
to a tile's bounding box in the form of [minX, maxX, minY, maxY] The bbox can be in lon-lat (WGS84) or WebMercator (900913) The default expectation is in WebMercator (900913)