mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
* Make aws/cloudflare depend on pmtiles from npm [#455] This is clearer to developers than relying on the local code being built. * update check_examples.py * bump openlayers to v2 with upgrade of pmtiles to v4 [#455] * update to 4.2.1
This commit is contained in:
@@ -37,7 +37,7 @@ See [protomaps-leaflet](https://github.com/protomaps/protomaps-leaflet)
|
||||
Example of a PMTiles archive displayed in MapLibre GL JS:
|
||||
|
||||
```js
|
||||
import { Protocol } from "pmtiles";
|
||||
import { Protocol } from "pmtiles";
|
||||
let protocol = new Protocol();
|
||||
maplibregl.addProtocol("pmtiles",protocol.tile);
|
||||
var style = {
|
||||
|
||||
Reference in New Issue
Block a user