Open cpspicer opened 6 years ago
This is already doable in SMK today from any rest service that return json. From ticket 278: https://github.com/bcgov/smk/issues/278
However the caveat is that, as a vector layer, it will attempt to download everything all at once, which is not memory efficient or feasable for large datasets.
In the mapview repo (https://github.com/dhlevi/smk-bc-mapview8) we've implemented a change to enable querying the WFS layer on pan/zoom. It currently doesn't cache though, but it would be a feasible implementation.
We have clustering working in SMK. In the Mash-up framework we could enable clustering for data coming from ESRI Rest based services. It was tricky to implement, as the application on launch had to cache the point data locally in the browser on star-up (to maintain freshness). It was 'author beware' depending on the size of the data - usually the attribute table size slowed things down.
Shall we take a crack at clustering and heat maps from a live source?