Skip to content

Commit

Permalink
We need to pass config into imagery api
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Jul 9, 2024
1 parent 5a1d633 commit ace75b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/landing/src/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export const WindowUrl = {
},

toImageryUrl(layerId: string, imageryType: string): string {
return `${this.baseUrl()}/v1/imagery/${layerId}/${imageryType}`;
const query = toQueryString({ config: ensureBase58(Config.map.config) });
return `${this.baseUrl()}/v1/imagery/${layerId}/${imageryType}${query}`;
},

toTileUrl(params: TileUrlParams): string {
Expand Down

0 comments on commit ace75b0

Please sign in to comment.