File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change @@ -61,12 +61,6 @@ npm run serve
6161
6262And 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
7266The library is also exposed as python bindings and published on [ PyPI] ( https://pypi.org/project/liblrs-python/ ) .
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 : {
You can’t perform that action at this time.
0 commit comments