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