Skip to content

Commit

Permalink
add vie CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanahiro committed Dec 29, 2024
1 parent 5ea4550 commit 606f365
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ temporalControl.setLoopEnabled(true)
temporalControl.goto(5)
```

### via CDN

```html
<script type="module">
import TemporalControl from 'https://www.unpkg.com/[email protected]/build/index.js';
const temporalControl = new TemporalControl(temporalFrames);
map.addControl(temporalControl);
</script>
```

### Tips

- Layers set in frames must be added in the map
Expand Down

0 comments on commit 606f365

Please sign in to comment.