attr replace fix
This commit is contained in:
parent
134f72948c
commit
32f29024f8
@ -159,7 +159,8 @@ export function Map({
|
||||
}
|
||||
return attr.replace(
|
||||
/\{attribution.(\w*)\}/g,
|
||||
function (match, attributionName) {
|
||||
function (match: any, attributionName: string) {
|
||||
match;
|
||||
return attributionReplacer(
|
||||
providers[attributionName].options.attribution
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user