flywave-mapview.datasource.shouldpreloadtiles
Home > @flywave/flywave-mapview > DataSource > shouldPreloadTiles
DataSource.shouldPreloadTiles() method
This method is called by the MapView to determine if the content of the surrounding tiles must be preloaded.
Signature:
shouldPreloadTiles(): boolean;
Returns:
boolean
`true` if the [MapView](./flywave-mapview.mapview.md) should try to preload tiles surrounding the visible tiles; `false` otherwise. The default is `false`<!-- -->.