Jim Phillips

Results 72 comments of Jim Phillips

That would change nothing since `state.visible` is checked already at https://github.com/openlayers/openlayers/blob/c57f740aa97fdb56fcae616030a49f415b44cfd6/src/ol/Map.js#L967 and the problem is that `state.visible` is not reliable before the source is ready.

Because, in my test, before the source is ready `state.visible` is always true while `state.layer.isVisible()` correctly depends on the zoom level. The difference is because `state.visible` is based on `getVisible()`:...

That group implementation of `getLayerStatesArray` recursively calls `getLayerStatesArray` on its member layers: https://github.com/openlayers/openlayers/blob/b0c7d63cc551b7ea6fe1ef402c6f8d5e24abc2f4/src/ol/layer/Group.js#L309-L311 which for non-group layers calls `getLayerState`: https://github.com/openlayers/openlayers/blob/b0c7d63cc551b7ea6fe1ef402c6f8d5e24abc2f4/src/ol/layer/Layer.js#L197-L201 which calls `getVisible': https://github.com/openlayers/openlayers/blob/b0c7d63cc551b7ea6fe1ef402c6f8d5e24abc2f4/src/ol/layer/Base.js#L168 and the only change is to...

Just to note, this only affects the MultiGeoTIFF class (overviews in separate files). The single-file case looks OK.

Actually this looks like a transient behavior of fetchPresignedUrl that is cached as the same file works fine in a new conversation.

I have no idea how to automate a test for this but my huge COG test works as expected (shows loading even if the COG layer is not visible) and...

Can you check if https://github.com/geotiffjs/geotiff.js/pull/381 fixes your issue?

Won't this proposed solution cause the bot to forget the context of the conversation? Maybe keep all of the user input but only the most recent response, or filter the...

Yes, I want to be able to use any TileGrid with any view projection the same way that I can use any GeoTIFF source with any view projection and the...

I can try to put something together but I would need guidance. Would it make sense to create a new TileGridSource class?