mapbox-gl-shadow-simulator icon indicating copy to clipboard operation
mapbox-gl-shadow-simulator copied to clipboard

Request: allow users to render shadows of buildings outside of viewport

Open bruesba opened this issue 1 year ago • 3 comments

Hi @ted-piotrowski,

Shadows seem to be rendered based on the buildings within the viewport. Would it be possible to add an option to initialise the layer with a buffer in which shadows should be rendered - outside of the viewport?

Here are the shadows of a building while the map is fairly zoomed in image

And here they are when the map is more zoomed out. Far more shadows seem to be rendered (shadows of buildings at the edge of the map). image

bruesba avatar Feb 06 '24 14:02 bruesba