Leaflet.TimeDimension icon indicating copy to clipboard operation
Leaflet.TimeDimension copied to clipboard

stuck at example 12 heatmap

Open 2803media opened this issue 3 years ago • 0 comments

Hi I have a simple geojson file like that:

  "type": "FeatureCollection",
  "metadata": {
    "total": 2073,
    "name": "BEAL",
    "event": "birth"
  },
  "features": [
    {
      "type": "Feature",
      "properties": {
        "time": "1920-03-15"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          4.866667,
          45.516667
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "time": "1941-06-14"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          3.683333,
          45.616667
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "time": "1949-07-16"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          4.866667,
          45.516667
        ]
      }
    },

And I want to use it as a heatmap like the example 12 but it's too complicate with the SODA API thing.

Is there somewhere an simple example of a dynamic heatmap based on a single geojson file?

Thanks

2803media avatar Sep 23 '22 14:09 2803media