Skip to content

Commit 85abaea

Browse files
committed
/tile request should be with verbose = true to match newest valhalla master
1 parent 470ef7f commit 85abaea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tiles/valhalla-layers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const VALHALLA_NODES_LAYER_ID = 'valhalla-nodes';
88
// Pre-encoded JSON: {"tile":{"z":{z},"x":{x},"y":{y}}}
99
// Placeholders {z}, {x}, {y} remain unencoded for MapLibre to replace
1010
const TILE_JSON_ENCODED =
11-
'%7B%22tile%22%3A%7B%22z%22%3A{z}%2C%22x%22%3A{x}%2C%22y%22%3A{y}%7D%7D';
11+
'%7B%22verbose%22%3A%20true%2C%20%22tile%22%3A%7B%22z%22%3A{z}%2C%22x%22%3A{x}%2C%22y%22%3A{y}%7D%7D';
1212

1313
export function getValhallaTileUrl(): string {
1414
const baseUrl = normalizeBaseUrl(getBaseUrl());

0 commit comments

Comments
 (0)