Optional
allowOptional
allowAllow floating-point zoom levels. By default, only integer zoom levels are output.
Optional
maxzoom?: numberOptional
minzoom?: numberGiven a minimum or maximum zoom, the output zoom will be clamped between those numbers.
Optional
tileTile size. By default, this is 256.
Generated using TypeDoc
Given bounds in WSEN order and pixel dimensions, figure out what center and zoom will produce a map view with the same bounds and dimensions.