Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wkh237 authored Dec 17, 2016
1 parent 7ca5d8f commit 18fa145
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This is an instruction about making custom map tiles using [node-map-tiles-edito

- Node.JS > 7.1.
- **node-canvas** platform dependencies installed. [see instruction](https://github.com/Automattic/node-canvas#installation)
- A valid google map API key

## Prepare Image

Expand All @@ -23,6 +24,13 @@ Simply clone or download the project
$ git clone https://github.com/wkh237/node-map-tiles-editor.git
```

Before get started, you should replace your Google Map's API KEY in `public/index.html`

```
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=<API KEY HERE>&signed_in=true&callback=initMap"></script>
```

Then start the node server

```
Expand All @@ -33,6 +41,7 @@ Now you should be able to visit the editor via browser :

[http://localhost:5000/editor](http://localhost:5000/editor)


## Create a Region

Click the `New` button and input the region's name.
Expand Down

0 comments on commit 18fa145

Please sign in to comment.