Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trailbehind/tilejsontester
Web Interface for creating and testing tilejson files
https://github.com/trailbehind/tilejsontester
Last synced: 3 days ago
JSON representation
Web Interface for creating and testing tilejson files
- Host: GitHub
- URL: https://github.com/trailbehind/tilejsontester
- Owner: trailbehind
- Created: 2015-06-11T19:11:37.000Z (over 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2020-04-20T15:23:56.000Z (over 4 years ago)
- Last Synced: 2023-04-21T10:26:41.426Z (over 1 year ago)
- Language: HTML
- Size: 68.4 KB
- Stars: 0
- Watchers: 24
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TilejsonTester
Web Interface for creating and testing tilejson filesTry it at [http://trailbehind.github.io/TilejsonTester/](http://trailbehind.github.io/TilejsonTester/)
It imports tiles from the URL you specify, and displays the results on a map, so you can judge if it will display properly.
The tester does some sanity checking on the bounds (the west bound must be less than the east, and the south must be less than the north.)
In addition, the tester draws a rectangle around the bounds on the map so you can be sure that all tiles are entirely included.## To work on this app...
It's straightforward to develop this app further on your local machine.
The process uses [browser-sync](https://browsersync.io/#install).
The command below installs `browser-sync` on your computer.
Installing it globally (with "-g") means that you can use it in many different projects,
so you only need to do it once.```
npm install -g browser-sync
```Next, clone the git repository to your local disk. Then `cd` to the repository's directory, and run `browser-sync`.
It starts a local web server, finds the `index.html` file, and displays it in your browser.
When you save changes to files,
it automatically updates the browser window. To use it:```
git clone https://github.com/trailbehind/TilejsonTester.gitcd TilejsonTester
browser-sync start --server --files "*.html"
```