Skip to content

Google maps component - programmatic script/lang change #18015

@Ketec

Description

@Ketec

Feature Description

Right now you would have to add key, lang etc into index.html manually.
What it should allow, is to add a init service that can be used to inject the API with params (key, client, language, libraries).
It should also handle wiping all map scripts + loaded library to trigger language change.

Right now this has to be implemented manually, but it should be part of the package.

Use Case

Allows loading maps from configurations that may come from the server-side (key, libraries etc).
Allows changing language without page reload (transloco for example).

Metadata

Metadata

Assignees

Labels

featureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions