GispoCoding / tarmo

Tarmo - Tampere Mobilemap
https://ulkoilutampereenseutu.fi/
MIT License
11 stars 3 forks source link

Add first version of clustering points in database; fix #37 #168

Closed Rikuoja closed 2 years ago

Rikuoja commented 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.