From 927f660917747a686954f208a6342db95cada9a1 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 13 Oct 2022 15:13:56 +0800 Subject: [PATCH] Update README.md --- js/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/README.md b/js/README.md index fcdc038..b940fdf 100644 --- a/js/README.md +++ b/js/README.md @@ -23,7 +23,7 @@ Example of a PMTiles archive displayed in MapLibre GL JS: ```js let protocol = new pmtiles.Protocol(); -maplibregl.addProtocol("pmtiles",protocol.tileFunc); +maplibregl.addProtocol("pmtiles",protocol.tile); var style = { "version": 8, "sources": { @@ -31,4 +31,4 @@ var style = { "type": "vector", "tiles": ["pmtiles://example.pmtiles/{z}/{x}/{y}"], ... -``` \ No newline at end of file +```