Skip to content
Discussion options

You must be logged in to vote

You are not using this correctly...
I downloaded the content of https://[unpkg.com/[email protected]/dist/maplibre-gl-csp-worker.js](https://unpkg.com/[email protected]/dist/maplibre-gl-csp-worker.js) into a file called worker.js.
I have created a local file and called it 1.html.
In this file I wrote the following code and served it locally using npx st

<!DOCTYPE html>
<html lang="en">
<head>
    <title>PMTiles source and protocol</title>
    <meta property="og:description" content="Uses the PMTiles plugin and protocol to present a map." />
    <meta charset='utf-8'>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel='stylesheet' href='https://unpkg.com…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by llongour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
need more info Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #4418 on July 18, 2024 09:37.