In Scatterplot layer, can I change cursor to pointer on hover of plotted points?
ex. https://news.google.com/covid19/map
let isHovering = false;
Deck({
...
onHover: ({object}) => (isHovering = Boolean(object)),
getCursor: ({isDragging}) => (isDragging ? 'grabbing' : (isHovering ? 'pointer' : 'grab'))
})
Thanks @Pessimistress .
Most helpful comment