Skip to content

Commit 412c5e8

Browse files
committed
No map key is required since the switch to tuiles.enliberte.fr
Signed-off-by: Tristram Gräbener <tristram+git@tristramg.eu>
1 parent db19e79 commit 412c5e8

4 files changed

Lines changed: 4 additions & 15 deletions

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ jobs:
2929
run: npm install
3030
- name: Build the demonstration app
3131
run: npm run build
32-
env:
33-
MAPLIBRE_STYLE: ${{ secrets.MAPLIBRE_STYLE }}
3432
- name: Configure GitHub Pages
3533
uses: actions/configure-pages@v5
3634
- name: Upload GitHub Pages artifact
3735
uses: actions/upload-pages-artifact@v3
3836
with:
39-
path: './wasm/dist'
37+
path: "./wasm/dist"
4038
deploy:
4139
needs: build
4240
permissions:

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ npm run serve
6161

6262
And open your browser at `http://localhost:8080`
6363

64-
You can customize the map background if you provide your own [maplibre](https://maplibre.org/) style:
65-
66-
```bash
67-
MAPLIBRE_STYLE="https://your_tile_provider/style.json?key=42" npm run serve
68-
```
69-
7064
### Python bindings
7165

7266
The library is also exposed as python bindings and published on [PyPI](https://pypi.org/project/liblrs-python/).

wasm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"devDependencies": {
77
"@wasm-tool/wasm-pack-plugin": "1.7.0",
88
"css-loader": "7.1.2",
9-
"html-webpack-plugin": "5.6.3",
9+
"html-webpack-plugin": "5.6.5",
1010
"style-loader": "4.0.0",
11-
"webpack": "5.98.0",
11+
"webpack": "5.104.0",
1212
"webpack-cli": "6.0.1",
13-
"webpack-dev-server": "5.2.0"
13+
"webpack-dev-server": "5.2.2"
1414
},
1515
"dependencies": {
1616
"@turf/bbox": "7.2.0",

wasm/webpack.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ module.exports = {
2323
TextDecoder: ['text-encoding', 'TextDecoder'],
2424
TextEncoder: ['text-encoding', 'TextEncoder']
2525
}),
26-
new webpack.EnvironmentPlugin({
27-
MAPLIBRE_STYLE: 'https://demotiles.maplibre.org/style.json',
28-
})
2926
],
3027
mode: 'development',
3128
experiments: {

0 commit comments

Comments
 (0)