From b76136178b225d4297fcb2c552d1655e4c7c7199 Mon Sep 17 00:00:00 2001 From: Petr Pokorny Date: Tue, 6 Jul 2021 14:57:28 +0200 Subject: [PATCH] Fix: invalid tile url template for MapLibre style (#107) --- src/mbgl/util/tile_server_options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/util/tile_server_options.cpp b/src/mbgl/util/tile_server_options.cpp index 33a9233bc..d1e266f8b 100644 --- a/src/mbgl/util/tile_server_options.cpp +++ b/src/mbgl/util/tile_server_options.cpp @@ -220,7 +220,7 @@ namespace mbgl { .withStyleTemplate("{path}.json", "maps", {}) .withSpritesTemplate("/{path}/sprite{scale}.{format}", "", {}) .withGlyphsTemplate("/font/{fontstack}/{start}-{end}.pbf", "fonts", {}) - .withTileTemplate("/tiles{path}", "tiles", {}) + .withTileTemplate("/{path}", "tiles", {}) .withDefaultStyles(styles) .withDefaultStyle("Basic") .setRequiresApiKey(false);