Skip to content

Commit

Permalink
fix(VectorTile): fix {z}/{y}/{x}
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Jan 15, 2025
1 parent 09f7adb commit 9250fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Source/VectorTilesSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class VectorTilesSource extends TMSSource {
});
return Promise.all(TMSUrlList);
}
return (Promise.resolve([this.url]));
return (Promise.resolve([toTMSUrl(this.url)]));
}).then((TMSUrlList) => {
this.urls = Array.from(new Set(TMSUrlList));
});
Expand Down

0 comments on commit 9250fd8

Please sign in to comment.