Skip to content

Commit

Permalink
Merge pull request IITC-CE#3 from Ir1d/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
balthild authored Feb 4, 2018
2 parents 1293ce0 + 51e4c61 commit f9f3881
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ Go to https://www.mapbox.com/studio/ and design your custom map styles. After pu

You can only use styles that accessible with your access token, generally, those owned by your mapbox account.

## polygon-portals2json.js

Modified from https://github.com/hayeswise/iitc-portalsinpolygons

### Install

You need [portal-list](https://static.iitc.me/build/release/plugins/portals-list.user.js) first.

Then [this](https://raw.githubusercontent.com/ResistanceCN/iitc-plugins/master/polygon-portals2json.js).

### Basic usage

Draw a polygon on the map and then use `Output as Json` to obtain a json style string.

0 comments on commit f9f3881

Please sign in to comment.