Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gebuz committed Nov 26, 2024
1 parent 019cad5 commit b6df9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ A demo view of all the stylefiles is available at https://sdfidk.github.io/vecto

Install the [npm package](@dataforsyningen/vector_tiles_assets):

`npm install @dataforsyningen/vector_tiles_assets`
```npm install @dataforsyningen/vector_tiles_assets```

You can then copy the assets you need into your project from `./node_modules/@dataforsyningen/vector_tiles_assets`. For instance, see how it can be done with esbuild [here](https://github.com/SDFIdk/vector_tiles_frontend/blob/main/escopy.js)

Alternatively you can load the assets directly from our CDN, for instance:

`cdn.dataforsyningen.dk/assets/vector_tiles_assets/${version}/styles/official/3857_skaermkort_klassisk.json`
```cdn.dataforsyningen.dk/assets/vector_tiles_assets/${version}/styles/official/3857_skaermkort_klassisk.json```

using any release version or `latest`.

Expand Down

0 comments on commit b6df9c2

Please sign in to comment.