Fix: invalid tile url template for MapLibre style (#107)

This commit is contained in:
Petr Pokorny
2021-07-06 14:57:28 +02:00
committed by GitHub
parent d62ff400c6
commit b76136178b

View File

@@ -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);