Skip to content

Commit

Permalink
inspector basemap improvements [#49]
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Feb 7, 2023
1 parent 25382d2 commit 28df71c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"maplibre-gl": "^2.1.9",
"pbf": "^3.2.1",
"protomaps": "^1.19.0",
"protomaps-themes-base": "1.1.1",
"protomaps-themes-base": "1.2.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-dropzone": "^14.1.1",
Expand Down
2 changes: 1 addition & 1 deletion app/src/MaplibreMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const vectorStyle = async (file: PMTiles): Promise<any> => {
let layers: any[] = [];

if (metadata.type !== "baselayer") {
layers = base_theme("basemap", "dark");
layers = base_theme("basemap", "black");
layers[0].paint["background-color"] = "black";
}

Expand Down

0 comments on commit 28df71c

Please sign in to comment.