spatial-monorepo / pmtiles/src / unregisterProtocol
Function: unregisterProtocol()
unregisterProtocol(
map):void
Defined in: packages/pmtiles/src/index.ts:99
Removes the pmtiles:// protocol from the given MapLibre-compatible map instance and resets the singleton guard so registerProtocol can be called again (e.g. after map unmount/remount).
Parameters
map
Returns
void
