@ -116,16 +116,14 @@ To display a Leaflet map on a page, you need a `<div>` element, which is a conta
<divid='map'></div>
```
3. Directly after the `<div>`, add this JavaScript code within a `<script>` tag to set the API key for the map. Use your own API key substituted for the placeholder text of `your-mapzen-api-key`.
3. Directly after the `<div>`, add this JavaScript code within a `<script>` tag to set the API key for the map.
```js
<script>
L.Mapzen.apiKey = "your-mapzen-api-key"; // paste your actual API key here
L.Mapzen.apiKey = "your-mapzen-api-key";
</script>
```
The `your-mapzen-api-key` text is the Mapzen API key; paste your own API key inside the single quotes. You can get an API key by following the steps in the Mapzen [developer overview](https://mapzen.com/documentation/overview/).
4. Inside the same `<script>` tag, and after the code you just added for the API key, initialize a map.