Closed Rikuoja closed 2 years ago
Had to make each cluster zoom level its own source and layer. This is because
1) they come from different sources, and MapLibre source or source id of a layer cannot be changed on the fly, and
2) they must have different ids, and MapLibre layer id cannot be changed on the fly. MapLibre gets terribly confused with data if ids are not static.
Had to make each cluster zoom level its own source and layer. This is because
1) they come from different sources, and MapLibre source or source id of a layer cannot be changed on the fly, and
2) they must have different ids, and MapLibre layer id cannot be changed on the fly. MapLibre gets terribly confused with data if ids are not static.