Comments (3)
@contra - This is an unintended side effect of the picking refactor - previously we were always doing a picking check on every layer - in the new version we only check picking until we find a match. Agree that we need to send a -1 index on deselection, will have to consider how to handle this, maybe we need to add picking state to the layer manager.
from deck.gl.
@contra Just published rc1 which should fix this. Also has new hover/click callbacks on the react component: https://github.com/uber/deck.gl/blob/dev/docs/using-with-react.md in addition to the layer callbacks.
from deck.gl.
sorry if I'm not understanding.
At the moment (deck.gl version 8.8.15) what is the way to check when not hovering an item?
EDIT: (I corrected my self also here
Sorry, I just realized that I can use:
onHover: (info: any) => {console.log(info)}
inside the new Deck declaration and then check for info.layer.id to be or not the one I need.
I think this is not clear on the documentation.
from deck.gl.
Related Issues (20)
- [Bug] HeatmapLayer is not working in v9
- [Bug] ScreenGridLayer is not working in v9
- [Doc] "Source" link for `fly-to-interpolator` not working
- [Bug] GPUGridLayer is not working in v9
- [Doc] pydeck.Layer modifies data. Documentation should make this clear!
- [Bug] pydeck.Layer error when point_type is set ('GeoJsonLayer') HOT 1
- [Doc] Change datasets used in examples/carto HOT 2
- [Bug] CARTO: Review and fix test maps in carto-map test app
- [Bug] Using MapboxOverlay, can't handle right click on a feature HOT 6
- [Feat] Apple Maps sattelite image HOT 1
- Update Copyright and License References as per OpenJS Foundation Guidance
- [Bug]When using Mapbox and setting the projection to 'Globe', if an ArcLayer is added as a MapboxLayer, the ArcLayer disappears when zooming out. HOT 1
- [Bug] Layers not working with latest luma picking shader module HOT 1
- [Bug] pydeck.Layer error when point_radius_units is set ('GeoJsonLayer') HOT 2
- [Bug]Local Build Not Working HOT 1
- [Bug]Using yarn to install dependencies for warehouse projects fails
- [Bug] IconLayer does not support GeoJson ? HOT 2
- [Bug] Scenegraph: Cannot read properties of undefined (reading 'texCoord')
- [Feat] Add onTileLoading callback on TileLayers HOT 1
- Remove Buffer#getData() calls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deck.gl.