We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d556141 + 3d0512c commit 2b6c7d5Copy full SHA for 2b6c7d5
src/tms_service.js
@@ -47,9 +47,12 @@ export class TMSService {
47
const url = this._proxyPath + tileUrl;
48
return this._emsClient.extendUrlWithParams(url);
49
});
50
+ // Override the attribution in the sources with the localized attribution
51
+ const htmlAttribution = await this.getHTMLAttribution()
52
inlinedSources[sourceName] = {
53
type: 'vector',
54
...sourceJson,
55
+ attribution: htmlAttribution,
56
tiles: extendedTileUrls
57
};
58
}
0 commit comments