Flagged things off the screen as chips on the map edge, kept apart and off the controls; a click frames them.
Part of High Command Pro. The preview and props are open to everyone; installing it needs your license key. Set up your key · Pricing
$ npx shadcn@latest add @highcommand/edge-chipsCopies the source into your project and pulls in what it needs (2 other items). First time? Add the registry to components.json.
Flagged things off the screen (an import at sea while the map frames your DCs) become chips on the map's edge pointing at them, grouped along each side, kept apart and off the map's controls so every chip is a whole target.
pointsrequiredreadonly EdgePoint[]—The flagged things; those inside the current view are not chipped.
avoidstring'.cmd-filters .cmd-frow > *, .cmd-maplegend'Selector for overlays inside the map the chips must not sit on (besides MapLibre's own controls).
topnumber52Px kept clear at the top (a filter bar).
onSelect(pts: EdgePoint[]) => void—A click on a chip (default: frame its things).