---
title: "opportunity-map"
description: "Map a proposed expansion and the constraint that could change it."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/deckster/llms.txt
> Use this file to discover all available pages before exploring further.

# opportunity-map

The west bank’s shops form a short loop from Quayside. Across the river, bridge queues could break the delivery promise. The route and crossing explain why one district comes first.

## Author the slide

Use a 16:9 base map. Put the district labels, proposed location, route points and constraint on the same coordinate system, measured in percentages from the top left. With `reveal: true`, the map opens with the districts. The first advance adds the proposed site and route, and the next adds the constraint.

## Example

[Live slide: "Open on Saltby’s market side of the river", slide 68 of the lookbook deck](https://sandrinodm.github.io/deckster/decks/lookbook/#/opportunity-map)

`decks/lookbook/slides/opportunity-map.mdx`:

```mdx
---
layout: opportunity-map
title: Open on Saltby’s market side of the river
eyebrow: Where the first hub belongs
budget: 55s
reveal: true
map:
  src: ../assets/maps/saltby-expansion.svg
  alt: Saltby’s dense western market streets meet a tidal river with one short bridge to Mill Green on the eastern bank.
districts:
  - label: Market Row
    point: { x: 28, y: 21 }
  - label: Mill Green
    point: { x: 74, y: 25 }
  - label: South Marsh
    point: { x: 14, y: 79 }
proposed:
  label: Quayside
  point: { x: 38, y: 58 }
  detail: Reach the market’s shops from a single short loop on the west bank.
constraint:
  label: One short crossing
  point: { x: 53, y: 44 }
  detail: Delay Mill Green until bridge queues fit comfortably inside the hour.
route:
  - { x: 38, y: 58 }
  - { x: 32, y: 55 }
  - { x: 22, y: 48 }
  - { x: 22, y: 30 }
  - { x: 28, y: 21 }
---

<Footnote>Illustrative district map for the Saltby expansion case.</Footnote>

<Notes>
`opportunity-map` starts with the districts and crossing so the route can be read against geography. The shops that can form a short first loop sit on the west bank. [click] Put the first hub at Quayside and collect along the market route. [click] The short bridge is the constraint. Test queues there before counting Mill Green orders as part of the opening loop. Its proposed autumn hub is a separate decision.
</Notes>
```

## Reference

Frontmatter: `layout: opportunity-map`; surface: the deck's default; title: required, 70 characters at most.

Explain a spatial expansion decision on a map with a proposed site, coverage route and constraint.

*Slide still (a lookbook slide in this layout, not the example below): A slide in the opportunity-map layout: Open on Saltby’s market side of the river.* [Open the slide](https://sandrinodm.github.io/deckster/decks/lookbook/#/opportunity-map)

**Slots**

| Slot | Required | Takes | Budget | What goes in it |
| --- | --- | --- | --- | --- |
| `body` | no |  | — | Content outside every slot tag (in TSX, the default export). |
| `<Footnote>` | no | text | 24 words | A source or caveat on the bottom line. |

**Frontmatter fields**

| Field | Values | How to use it |
| --- | --- | --- |
| `eyebrow` | text | Write a few words of at most 40 characters, for example `eyebrow: Budget committee`, or leave it out. |
| `reveal` | `true`, `false` (default) | Start with the geography and districts, then expose the proposal and route, then the constraint. |
| `chrome` | `true` (default), `false` |  |
| `map` (required) | text | A local 16:9 map image with src and alt, up to 160 characters. Include geography that affects the decision. |
| `districts` (required) | text | Write 2 to 4 context points, each with a label up to 24 characters and x and y as percentages from the top left. |
| `proposed` (required) | text | Give the selected site a label up to 24 characters, a point and a detail up to 100 characters. |
| `constraint` (required) | text | Locate the constraint with a label up to 24 characters, a point and a detail up to 100 characters. |
| `route` (required) | text | List 2 to 8 points in percentages tracing the proposed connection along paths in the artwork. |

**Example**

```mdx
---
layout: opportunity-map
title: Start the collection route south of the bridge
reveal: true
map:
  src: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360'%3E%3Cpath fill='%23dbe6ce' d='M0 0h640v360H0z'/%3E%3Cpath fill='none' stroke='%233c4a62' stroke-width='7' stroke-linecap='round' stroke-linejoin='round' d='M307 4q-33 112 29 172t13 184m29-360q-32 111 26 172t25 185M329 190l71 1M33 109l243 12M43 208l223-7m-96-136 12 221M456 107l164 10m-109-53-9 227M466 213l150-8'/%3E%3C/svg%3E"
  alt: A schematic of two districts near a crossing
districts:
  - label: Market
    point:
      x: 19
      y: 32
  - label: North bank
    point:
      x: 71
      y: 22
proposed:
  label: New station
  point:
    x: 32
    y: 72
  detail: Groups pickups with the shops that already share a route.
constraint:
  label: Bridge works
  point:
    x: 58
    y: 53
  detail: Delay the north bank until the short crossing reopens.
route:
  - x: 32
    y: 72
  - x: 23
    y: 56
  - x: 19
    y: 32
---

<Notes>Place the districts first. [click] Trace the selected link. [click] Explain the crossing constraint.</Notes>
```

See the [presentation patterns guide](https://sandrinodm.github.io/deckster/examples/presentation-patterns/) for related slides and their source files.

Source: https://sandrinodm.github.io/deckster/reference/layouts/opportunity-map/index.mdx
