Skip to content

unable to load map library in middleware since v2 #1143

@ajaygawali120892

Description

@ajaygawali120892

Hi Team,

We are using following configuration to load google map library in middleware layer of application to avoid exposing API key in network tab of browser.

new Loader({
    apiKey: "",
    url: "/google-maps/map/maps/api/js",
    language: LANGUAGES_GOOGLE[locale],
    libraries: ["marker", "places"]
})

but since v2, setOptions option function we cannot do that I think it’s due to the missing URL property.
Are you planning to add URL property again?
or is there any possible solution to solve this problem

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions