Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ First, just create an mbtiles file (via Tilemill probably cause it's freaking am
1. `node server.js TILEFILE [PORT]`

Visit [http://localhost:3000/3/1/2.png](http://localhost:3000/3/1/2.png)

In case you are using OpenLayers for rendering, you can use the following source config in your ol.Map({}) options:

```js
source: new ol.source.TileImage({
url:"http://localhost:3000/{z}/{x}/{y}.png"
})
```