folium icon indicating copy to clipboard operation
folium copied to clipboard

Time slider that can change multiple layers

Open EmanuelCastanho opened this issue 2 years ago • 0 comments

I implemented a folium map with a layer of cluster points (Marker) and a WMS layer for a single timestamp. The WMS layer is from a tile provider, and I need to change the variable time inside WmsTileLayer, to change the data presented. The cluster points layer is calculated from a feather file with specific date. Those clusters have different classes, and in the Layer Control I am able to select the classes I want to show. Each cluster point shows a pop up when clicked.

How can I create a time slider that:

  • Changes the WMS layer for the corresponding timestamp?
  • Changes the cluster points for the corresponding timestamp?

For example, can I use this plugins.TimestampedWmsTileLayers(wms) to change not only my WMS layer, but also the cluster points?

EmanuelCastanho avatar Sep 13 '23 11:09 EmanuelCastanho