-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
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 fixThis issue represents a new feature or feature request rather than a bug or bug fix