Skip to content

Add option to specify "channel" parameter in the Loader() options #264

@grace-age

Description

@grace-age

I wanted to dynamically change the channel parameter as mentioned here: https://developers.google.com/maps/documentation/javascript/overview#Loading_the_Maps_API,
and I tried to use this package, and tried to add the channel as a parameter along with apiKey, version and libraries, but it does not accept it.
const loader = new Loader({
apiKey: "",
version: "weekly",
libraries: ["places"],
channel: "300"
});

It would be great if there was an option to add the channel parameter as it is useful to track the google api billing for premium plan users.

Please let me know if I'm missing something.

Thanks in advance!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions