Skip to content

Commit

Permalink
remove cog library
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 18, 2024
1 parent 0eb7358 commit c9ae0af
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 98 deletions.
94 changes: 0 additions & 94 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"dependencies": {
"@headlessui/react": "^2.1.2",
"@maplibre/maplibre-gl-geocoder": "1.5.0",
"@ninanor/maplibre-gl-cog": "^0.0.2",
"@sentry/react": "^7.118.0",
"@tanstack/react-query": "^5.51.9",
"@tanstack/react-router": "^0.0.1-beta.285",
Expand Down
3 changes: 0 additions & 3 deletions src/pages/viewer/components/maplibre-helpers.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { default as mlgl } from "maplibre-gl";

import * as pmtiles from "pmtiles";
import { ProtocolV3 } from "@ninanor/maplibre-gl-cog";

let protocol = new pmtiles.Protocol();
let cogProtocol = new ProtocolV3();
mlgl.addProtocol("pmtiles", protocol.tile);
mlgl.addProtocol("cog", cogProtocol.tile);

// This is necessary to load map styles of protected resources
export const transformRequest =
Expand Down

0 comments on commit c9ae0af

Please sign in to comment.