get Visible Tiles
Calculates which tiles are visible at a fractional zoom level.
The tiles are of the zoom level tileZoom and drawn scaled to the fractional zoom.
Return
A list of tile coordinates that should be rendered
Parameters
The map center location
The current, possibly fractional zoom level
The viewport width in pixels
The viewport height in pixels
The horizontal pan offset in screen pixels (default 0)
The vertical pan offset in screen pixels (default 0)
The width of a tile on screen at a whole zoom level, in pixels (default 256)
Calculates which tiles are visible in the current viewport.
Includes a 1-tile buffer around the edges for smooth panning. Tile Y stays within the world, tile X does not, see ViewportCalculator.
Return
A list of tile coordinates that should be rendered
Parameters
The map center location
The current zoom level
The viewport width in pixels
The viewport height in pixels
The horizontal pan offset in pixels (default 0)
The vertical pan offset in pixels (default 0)