maplibre-gl
Jake Coppinger 2023-01-15 22:18:28 +11:00
rodzic d9d752a1f7
commit 71641eeaeb
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -70,7 +70,9 @@ export const mapOnLoad = (map: maplibregl.Map) => () => {
// Add a new vector tile source with ID 'mapillary'.
map.addSource("osm2streets-vector-tileserver", {
type: "vector",
tiles: ["http://localhost:3000/tile/{z}/{x}/{y}"],
tiles: ["https://api.safecyclingmap.com/tile/{z}/{x}/{y}"],
// tiles: ["http://localhost:3000/tile/{z}/{x}/{y}"],
minzoom: 15,
maxzoom: 20,
});