livebook-dev / kino_maplibre

MapLibre integration for Livebook
Apache License 2.0
30 stars 10 forks source link

Realtime #3

Open cristineguadelupe opened 2 years ago

bt-maps commented 1 year ago

For realtime map styling, does it make sense to add a Kino.MapLibre.periodically? Similar to Kino.VegaLite.periodically but for MapLibre.update_layer and/or feature-state expression. This would allow updating the “state” of a feature to allow for live data and map rendering. Or, maybe there is a better way to handle this using setFeatureState/getFeatureState/removeFeatureState in the Elixir bindings to MapLibre Style Spec

some relevant examples: real time maps live-electoral-maps