0.12.0 • Published 5 years ago
@tilecloud/embed v0.12.0
@tilecloud/embed
JS embed API for TileCloud service.
Features
- webGL vector map rendering
- simple configuration
- map lazy rendering
Examples
https://tilecloud.github.io/embed/
Usage
Specify .tilecloud
class for target elements.
<!DOCTYPE html>
<html>
<body>
<div
class="tilecloud"
...
></div>
<script src="https://tilecloud.io/v1/embed?tilecloud-api-key=API-KEY"></script>
</body>
</html>
Or
<!DOCTYPE html>
<html>
<body>
<div
class="tilecloud"
data-key="YOUR-API-KEY"
...
></div>
<script src="https://tilecloud.io/v1/embed"></script>
</body>
</html>
You can see more examples at https://tilecloud.github.io/embed/.
Contributing
Development
$ git clone git@github.com:tilecloud/embed.git
$ cd embed
$ yarn # or npm install
$ npm start
Then you can see http://localhost:1234/
.
0.12.0
5 years ago
0.11.2
5 years ago
0.11.1
5 years ago
0.10.2
5 years ago
0.10.1
5 years ago
0.10.0
5 years ago
0.9.7
5 years ago
0.9.5
5 years ago
0.9.4
5 years ago
0.9.1
5 years ago
0.9.0
5 years ago
0.8.1
5 years ago
0.8.0
5 years ago
0.7.1
5 years ago
0.7.0
5 years ago
0.6.1
5 years ago
0.4.0
5 years ago
0.3.1
5 years ago
0.2.6
5 years ago