Skip to content

Improve path rendering performance and discoverability with coverage-based zoom visibility #191

@napakalas

Description

@napakalas

Background
As path count increases, especially around the spine region, viewer interactions (hover, zoom, pan) become sluggish. In dense areas, short paths are often hidden beneath longer/more complex paths and are hard to discover.

Proposed approach
Render paths based on their coverage relative to the current view.
At different zoom levels, paths can be faded or fully visible depending on path size/coverage.

Technical change
Compute per-path minzoom and maxzoom from:

  1. configured path minimum coverage
  2. configured path maximum coverage
  3. global min/max zoom bounds

These per-path zoom values are then used by the flatmap-viewer to control path visibility and interaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions