We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16176c commit 9b0911dCopy full SHA for 9b0911d
src/2.0/loader.ts
@@ -20,7 +20,7 @@ export type APIOptions = {
20
language?: string;
21
region?: string;
22
authReferrerPolicy?: string;
23
- mapIds?: string;
+ mapIds?: string | string[];
24
channel?: string;
25
solutionChannel?: string;
26
};
@@ -53,7 +53,7 @@ export function bootstrapLoader(options: APIOptions) {
53
for (const [name, value] of Object.entries(options)) {
54
urlParameters.set(
55
name.replace(/[A-Z]/g, (t) => "_" + t[0].toLowerCase()),
56
- value
+ value as string
57
);
58
}
59
urlParameters.set("callback", `google.maps.__ib__`);
0 commit comments