[OpenLayers-Users] Loader function called multiple times in wind.js example

Dave Potts mrdapotts at gmail.com
Mon Mar 2 11:26:25 PST 2026


I have been playing around with wind.js example program.  I  was a bit
surprised when I discovered that the loader function is called 16 times.


'const wind = new DataTileSource({
  // transition must be 0, see
https://github.com/openlayers/openlayers/issues/16119
  transition: 0,
  wrapX: true,
  async loader(z, x, y) {
    console.log("LOADER=========================>>>>>");
    const {
      data: inputData,
      width: inputWidth,
      height: inputHeight,
    } = await windData;'

The string LOADER is printed 16 times,  I would like to know why
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20260302/837c03a2/attachment.htm>


More information about the Users mailing list