Skip to content

Feature: Mini-map / Radar View #35

Description

@Pranav00076

Description:
Because the canvas is infinite, it's easy to get lost or lose track of where other people are working. A small mini-map in the bottom corner would solve this.

How to Implement:

  1. Secondary Canvas: Create a small secondary canvas element in the bottom corner.
  2. Rendering Map: Instead of rendering the full Fabric canvas, render a simplified view (e.g., drawing standard rectangles representing the bounding boxes of all objects).
  3. Viewport Indicator: Use the main canvas's vptCoords to draw a rectangle on the mini-map indicating the current view.
  4. Interactivity: Add click listeners to the mini-map that call canvas.absolutePan() on the main canvas to jump to that area.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions