Skip to content

Errors when loading Local Context library #12

@wangela

Description

@wangela

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.type: bugError 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions