-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Description
When a non-identity modelMatrix
is applied to a TileLayer the tiles are successfully loaded and rendered but picking is broken.
Seems like it is checking for the tiles' original bounding box when TileLayer's filterSubLayer
uses Tileset2D's isTileVisible
and thus returning the transformed tile as not visible (unless it overlaps with its original bounding box.)
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CARTO
- ArcGIS
Expected Behavior
Picking or underlying functionality takes modelMatrix
into account
Steps to Reproduce
Using the image-tile example
without modelMatrix
the hovered tile is highlighted and a tooltip is shown

Providing a modelMatrix
like below makes the tile highlighting and tooltip stop working
const tileLayer =
dimensions &&
new TileLayer<ImageBitmap>({
...
modelMatrix: new Matrix4().identity().rotateZ((Math.PI / 2) ),
});

Environment
- Framework version: 9.1.13
- Browser: Microsoft Edge Version 137.0.3296.93
- OS: MacOS 15.3.2
Logs
No response