(path: string)
| 105 | * are unchanged. |
| 106 | */ |
| 107 | export function encodeUrlPath(path: string): string { |
| 108 | return path |
| 109 | .split('/') |
| 110 | .map((segment) => encodeURIComponent(segment)) |
| 111 | .join('/'); |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Fetch a splat file from a URL on demand (e.g. when switching to a lazy tile). |
no outgoing calls
no test coverage detected