Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Commit

Permalink
Minor README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rfriberg committed Nov 15, 2016
1 parent 74f41fc commit 7075591
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ And add a height and width for the map:

**Step 3:** At the bottom of your page, add a JavaScript section to set up the map:

```js
```html
<script>
// Add a map to the 'map' div
var map = L.Mapzen.map('map');
Expand All @@ -62,13 +62,13 @@ And add a height and width for the map:

**Done!**

See the full tutorial: [Get started with mapzen.js](https://mapzen.com/documentation/mapzen-js/get-started/).
See the full tutorial: [Get started with mapzen.js](https://mapzen.com/documentation/mapzen-js/get-started/)

## Documentation

Read the full API documentation at https://mapzen.com/documentation/mapzen-js/.

The source files for the documentation are in the [/docs](https://github.com/mapzen/mapzen.js/tree/master/docs) folder of this repository.
The source files for the documentation are located in the [/docs](https://github.com/mapzen/mapzen.js/tree/master/docs) folder of this repository.


## Releases
Expand All @@ -77,7 +77,7 @@ The most recent mapzen.js release relies on [Leaflet v1.0.1](http://leafletjs.co

Previous mapzen.js releases can be imported by referencing the specific version number:

```
```html
<script src="https://mapzen.com/js/0.5.0/mapzen.min.js"></script>
```

Expand All @@ -89,23 +89,23 @@ There are a few different mapzen.js builds to meet specific needs:

**Minified:** Use the minified build for most use cases.

```
```html
<script src="https://mapzen.com/js/mapzen.min.js"></script>
```

**Debugging:** Use the unminified version for help with debugging.

```
```html
<script src="https://mapzen.com/js/mapzen.js"></script>
```

If you want to load the unminified version of [Tangram.js](https://github.com/tangrams/tangram), as well, use the [`debugTangram`](https://mapzen.com/documentation/mapzen-js/api-reference/#options) option when initializing the map.

**Standalone:** Use the standalone version if you want to use a different version of Leaflet. Currently, mapzen.js supports Leaflet v.0.7.x and v1.0.x. (Other versions of Leaflet may work, but are not actively tested or supported.)

This build includes a standalone css file, as well.
The standalone build includes a standalone css file, as well.

```
```html
<!-- style sheet for mapzen.js -->
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.standalone.css">

Expand Down

0 comments on commit 7075591

Please sign in to comment.