Skip to content

fr(google-maps): add forRoot() for global initializing #19472

Open
@DwieDima

Description

@DwieDima

Feature Description

like many modules already use it, it would be nice if you could initialize the Google Map with the method forRoot() in app.module.ts with given parameters.

Use Case

initialize with parameters like:

  • apiKey (link apiKey from environment.ts)
  • language
  • region
  • styles (set global styles for map and marker)

These are the first ones I thought of. I'm sure there are many more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: google-mapsfeatureThis 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