Skip to content

Time slider should visualize temporal coverage distribution #649

Description

@1ec5

Discovering features that have gone away requires scrubbing the time slider back and forth. This can be especially frustrating if the current range covers a much longer timespan than has been mapped in the area. To make “oases” of historical data more discoverable, we should add a histogram or sparkline to the slider control. This will give the user a rough idea of the time periods in which they can expect burgeoning coverage.

The chart could either visualize the overall distribution of features existing over time, or it could simply show the distribution of features starting and ending, sort of like this code frequency graph on GitHub, but much more vertically compact:

Code frequency over the history of OpenHistoricalMap/map-styles

The chart would entail registering a moveend event listener and reacting to it by querying for rendered features and analyzing the frequency of start_decdate property values on the resulting features.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions