Merge pull request #82 from protomaps/more-samples

add spec v3 examples to viewer
This commit is contained in:
Brandon Liu
2022-10-22 11:03:46 +08:00
committed by GitHub
4 changed files with 4 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ jobs:
- run: cd app && npm install && ./node_modules/.bin/tsc && ./node_modules/.bin/vite build --base=/PMTiles/
- run: cd serverless/aws && npm install && npm run build && cp dist/lambda_function.zip ../../app/dist
- run: cd serverless/cloudflare && npm install && npm run build && cp dist/index.js ../../app/dist
- run: cd spec/v3 && cp *.pmtiles ../../app/dist
- name: build_app
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}

View File

@@ -98,9 +98,11 @@ const ExampleList = styled("div", {
});
const EXAMPLE_FILES = [
"https://protomaps.github.io/PMTiles/protomaps(vector)ODbL_firenze.pmtiles",
"https://protomaps.github.io/PMTiles/stamen_toner(raster)CC-BY+ODbL_z3.pmtiles",
"https://protomaps-static.sfo3.digitaloceanspaces.com/mantle-trial.pmtiles",
"https://protomaps-static.sfo3.digitaloceanspaces.com/cb_2018_us_zcta510_500k_nolimit.pmtiles",
"https://protomaps-static.sfo3.digitaloceanspaces.com/cb_2018_us_zcta510_500k_gzip.pmtiles",
"https://protomaps-static.sfo3.digitaloceanspaces.com/cb_2018_us_zcta510_500k_gzip.pmtiles"
];
function Start(props: {

Binary file not shown.