From a2809a96690ed5d662a7b5dbcf13b40aec4a50c2 Mon Sep 17 00:00:00 2001 From: prusswan Date: Fri, 24 Jan 2025 16:24:29 +0800 Subject: [PATCH] make it clearer that the added protocol is for PMTiles only --- src/components/MapMaplibreGl.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/MapMaplibreGl.tsx b/src/components/MapMaplibreGl.tsx index 10d001fc..50ede15f 100644 --- a/src/components/MapMaplibreGl.tsx +++ b/src/components/MapMaplibreGl.tsx @@ -75,7 +75,7 @@ type MapMaplibreGlState = { geocoder: MaplibreGeocoder | null; zoomControl: ZoomControl | null; zoom?: number; - protocol: Protocol | null; + pmtilesProtocol: Protocol | null; }; class MapMaplibreGlInternal extends React.Component { @@ -95,7 +95,7 @@ class MapMaplibreGlInternal extends React.Component { this.forceUpdate(); @@ -140,7 +140,7 @@ class MapMaplibreGlInternal extends React.Component { @@ -166,8 +166,7 @@ class MapMaplibreGlInternal extends React.Component