checkApproachingInterval
fun checkApproachingInterval(x: Double, y: Double, level: Int, request: Request? = definedExternally)(source)
Checks if the next interval is approaching and will start preload the tile if necessary. Otherwise it will just add the tile to a list to preload when we approach the next interval.
Parameters
x
The tile X coordinate.
y
The tile Y coordinate.
level
The tile level.
request
The request object. Intended for internal use only.