Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Cluster and Heat maps from server side content - Challenge! #253

Open
cpspicer opened this issue Nov 2, 2018 · 2 comments
Open

Cluster and Heat maps from server side content - Challenge! #253

cpspicer opened this issue Nov 2, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cpspicer
Copy link

cpspicer commented Nov 2, 2018

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?

@cpspicer cpspicer added the enhancement New feature or request label Nov 2, 2018
@NicoledeGreef
Copy link
Collaborator

see also https://github.com/bcgov/smk/issues/278

@dhlevi
Copy link
Collaborator

dhlevi commented Dec 10, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants