# Add a map and a start location to your story

Source: https://knowledge.intractive.app/en/articles/maps-and-start-location

A **Map** block shows an interactive map with markers that visitors tap or walk to, to follow their own path: use it as a menu where each marker opens its own part of the story, or as a search game where visitors walk to a marker in real life. A **Start Location** block makes sure visitors begin your story at the right physical spot.

Both are for stories tied to a physical place: walking tours, on-site activations, trails, hunts and event wayfinding. They're optional, so skip them if your story doesn't depend on where the visitor is. The result is a map with markers and branches, and a start location with the right distance and guidance text.

## Set up a map

The **Map** block is a large map where you add one or more markers. When a visitor reaches a marker, they go to the branch you connected to that marker. Visitors can tap a marker to open its branch only when **Disable user tracking** is on or when they deny location access. Otherwise they start the branch by walking to the marker. In the branch you add content blocks as you do anywhere else. At the end of the branch you choose what happens next.

1. Add a **Map** block to your story.
2. Under **Camera and bounds**, select **Edit view**. In the classic editor, select **Click here to change**.
3. Go to the area you want to show. Use the search, or drag, zoom, rotate or tilt the map.
4. Zoom in on the place where your story happens, so visitors don't start with a view of the whole world.

   \[screenshot: the Map block with Camera and bounds open, zoomed in on one area\]
5. Select **Save**. Visitors can always move the map, so choose a view that shows your markers. Test the view in live preview.
6. Optional: change the look of the map. Under **Advanced**, enter a **Style URL** (a Mapbox style URL). Without one, the map uses Mapbox Streets.

   \[screenshot: the Map block with the Advanced section open and the Style URL field\]
7. Select **Add marker** to add a marker. In the classic editor, select **Add more**.\
   \[screenshot: the Map block with the Add marker button and one marker on the map\]
8. Place the marker on the map with the pinpoint icon.
9. Give the marker a label.
10. Optional: add a **Custom image**. In the classic editor, use **Choose or drop file**. Use a small PNG of about 250px, and keep the file under 1 MB. Change its size with **Image scale**.
11. Repeat steps 7 to 10 for every marker.
12. Optional: replace the dot that shows the visitor's own location with **Custom avatar**.
13. Optional: connect each marker to a branch with **Leads to**. In the classic editor, set **Action** to **Start branch**. Every marker can start its own branch. This works the same way as a **Branch choice**: every marker is a path.
14. Use **Preview** to test the map, and check how a custom marker image looks.

### Where a marker leads

A marker doesn't need a destination. In the canvas editor, each marker has **Leads to**: choose **Continue**, an existing path or **New path…**. In the classic editor, set **Action** to **Start branch**, **Select branch** or **Create branch**. Markers have no popup and no story variable action.

\[screenshot: the Leads to options of a marker in the Map block\]

To show a marker that doesn't open anything, leave its **Leads to** empty. The marker has no branch of its own, but a visitor who reaches it still continues the story.

While no marker leads anywhere, the map shows a continue button, and reaching any marker also continues the story. Once markers lead somewhere, visitors can only move on by reaching a marker, unless **Allow skipping** is on.

**Tip:** To make a picture of a map with clickable areas, use a **Hotspot Branch** block on an image of the map. Each area you draw leads to its own branch.

### Use the map as a menu

Set **Leads to** of each marker to its own branch. At the end of the branch, set what happens next. To bring visitors back to the map, end the branch with a jump to the **Map** block:

- In the canvas editor, choose **Jump to a block…** under **When this path ends**.
- In the classic editor, choose **Jump to another block**, then **Choose jump target**.

### Open a regional map from a world map

A branch can open branches of its own, so a marker can lead to another map. For example, a world map has one marker per region. Each marker opens a branch that starts with a **Map** block for that region.

To give visitors a way back to the overview, end the regional branch with a jump to the world map block, in the same way.

\[screenshot: a world map with one marker per region\]

### Keep the map readable

- Use marker icons that show clearly what each marker stands for.
- Keep the number of markers on one map small. If you have fifty points of interest, split them across a few steps or chapters.

### Build a GPS search game

You can also use markers as goals. Every marker is a goal: reaching a marker starts its branch, or continues the story. There is no separate goal-marker setting. When a visitor's GPS location comes close enough to a marker, its branch starts, or the story moves on automatically. This is how you build a search game, where visitors have to reach one or more locations.

**Note:** Markers have no distance setting of their own. A visitor has reached a marker when they are within 25 metres of it.

A search game is most useful with several markers. For example, a map with one marker per animal, where visitors have to walk to the right one.

In this example, the butterfly marker leads to its own branch, which starts when the visitor reaches that marker.\
\[screenshot: a map with one marker per animal, the butterfly marker leading to its own branch\]

### Map settings

| Setting | What it does |
| --- | --- |
| **Camera and bounds** | Sets the view the map opens on: the centre point, zoom and orientation when the block loads. It doesn't limit where visitors can go. |
| **Style URL** | Under **Advanced**: a Mapbox style URL that sets the look of the map. Without one, the map uses Mapbox Streets. |
| Marker label | The name shown at the marker. |
| **Custom image** | Replaces the default marker with your own image. |
| **Custom avatar** | Replaces the dot that shows the visitor's own location. |
| **Disable user tracking** | Turns the visitor's live location on the map on or off. On mobile, visitors are asked for permission when tracking is on. |
| **Allow skipping** | Lets the visitor skip the map block. |

![](https://storage.googleapis.com/intractive-knowledge-media/76e28d44cd41af5d370470e5b4230c48d0c42b946cfc61179c5c66997dc8257e.png)

## Set a start location

A **Start Location** block holds the story until the visitor is physically at the point you chose. Use it for a walking tour that begins at a landmark, an event that should only start at the venue, or a trail or hunt that opens at the first checkpoint.

1. Add a **Start Location** block to the main branch of your story, usually as the first block.\
   \[screenshot: a Start Location block as the first block of a story\]
2. Select the small pinpoint icon in the top left to set a marker.
3. Find the area. Use the search at the top, or scroll and drag the map.
4. Click the map where you want the start location to be, or type the address in the top right.
5. Select **Save** to close the map.
6. Optional: add a **Custom marker image** to make the block your own. Use a small PNG of about 200px, and check how it looks in **Preview**.
7. Fill in **Minimum distance to start**. This is a radius: how close a visitor has to be to the point before the story continues. If you leave it empty, the radius is 30 metres. See "Choose the right distance" further on.

   \[screenshot: the Start Location block with Minimum distance to start filled in\]
8. Optional: add a **Custom intro text** that tells visitors where they need to go.

Your start location block is ready.

### Choose the right distance

If the start location is a square or a field, the GPS location doesn't need to be very precise.

If the distance is too small, GPS jitter locks visitors out. If it's too large, someone can trigger it from a different street.

A radius of 10 to 30 metres works well in most urban settings. Go higher outdoors or in dense city centres, where GPS is less reliable. Field-test the distance before you go live. The Builder warns you when the distance is below 30 metres, and again below 20.

### What visitors see

Until a visitor is close enough, they see a **Get closer to start** prompt. The story continues once their device reports a location inside your radius.

\[screenshot: the Get closer to start prompt on a phone, before the visitor arrives\]

If a visitor's device refuses to share its location, they see a message that explains what to do. They also get a continue button, so they can go on with the story. The block has no skip setting: the button only appears when the device doesn't share its location.

## Test on location

Test outdoors before you share the story. GPS behaves very differently on the road than at your desk. In live preview, markers open on tap instead of by walking to them. Test walking to the markers in the published story, on a real device in the real spot.

\[screenshot: the map in live preview on a phone, with the visitor's location and the markers\]
