deck.gl
deck.gl copied to clipboard
Border radius on TextLayer background
Target Use Case
Hi, I'm trying to get the background on tooltips of an EditableGeoJson layer to have rounded corners but can't seem to find a way without having to create a sub classed layer.
Would it be possible to add a new prop to the TextLayer that enabled users to set border-radius in a similar way to css?
The look I am after is this:
Proposal
getBorderRadius:
getBorderRadius: 5 // A number is just the same for all corners,
getBorderRadius: [5,2,5,2] // An array of numbers would work in the same way as other CSS shorthands.