deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

building layer && polygon layer

Open HeiYanjing opened this issue 7 years ago • 2 comments

I have a question . Now, I have many buildings data. more than 400,000 . some of buildings corrdinate combination are complex . so building's json file is large.
After I load json file , program running is not smooth. In mapbox ,I can publish a buildilng layer by geoserver. the building layer load by addLayer() and addSource() function , and can show or hide by zoom level.
In deck.gl ,can I use similar way to ease the burden of program running.

HeiYanjing avatar Jun 11 '19 09:06 HeiYanjing

You need to use the TileLayer for a mapbox-like behavior (which only loads/renders data that is visible in the current viewport).

Pessimistress avatar Jun 11 '19 17:06 Pessimistress

You need to use the TileLayer for a mapbox-like behavior (which only loads/renders data that is visible in the current viewport).

ok, thank you . I have a try.

HeiYanjing avatar Jun 12 '19 01:06 HeiYanjing