Double slashes in tiles url when map using index.json
Opened this issue · 0 comments
RafalR commented
The cause of the error:
Line 73 in e5bf3d7
tilesUrl //=>http://localhost:4000/\{z}\{x}\{y}.pbf
When a tile is downloaded, a url is incorrect and it looks that way:
http://localhost:4000//12/2311/1371.pbf
http://localhost:4000//12/2311/1370.pbf
instead
http://localhost:4000/12/2311/1371.pbf
http://localhost:4000/12/2311/1370.pbf