-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
releasedtriage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
I want to use the new beta Local Context Library with this loader, which is loaded with libraries=localContext
When I try:
export const loader = new Loader({
apiKey: "key",
version: "beta",
libraries: ["localContext"],
});
I get:
error TS2322: Type 'string' is not assignable to type '"drawing" | "geometry" | "places" | "visualization"'. libraries: ["localContext"],
And the map doesn't load. Sporadically, it will work, but mostly it fails.
Metadata
Metadata
Assignees
Labels
releasedtriage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.