gu-gridh / multimodal-map

A template for place-based data exploration at GRIDH
0 stars 0 forks source link

Time-span widget does not filter the objects in the MapViewPreview #39

Open jonathanwestin opened 1 year ago

jonathanwestin commented 1 year ago

When adjusting the time-span slider, it removes markers for places whose associated objects fall outside that time span, which is expected behavior. But, if you have a place with an image from 1900, and one image from 2000, and set the slider to 1850-1950, both images are still visible in the MapViewPreview. Expected behavior is that only the image from 1900 should be visible.

TristanBridge commented 1 year ago

Need back-end support. https://diana.dh.gu.se/api/rephotography/image/?start_date=2000&end_date=2023 something like this would work. Currently can't filter the images by the start_date and end_date.

jonathanwestin commented 1 year ago

Is this one fixed?