fr(google-maps): add forRoot() for global initializing
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### 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](https://angular-maps.com/api-docs/agm-core/interfaces/lazymapsapiloaderconfigliteral#info).
コントリビューションガイド
調査の方向性
まず、app.module.ts での既存の Google Maps モジュールの使用方法と、environment.ts の設定ソースを確認します。要求されている apiKey、language、region、styles オプションを、リンク先の AGM API ドキュメントと比較します。forRoot() の初期化パスで必要なグローバルパラメーターを受け入れ、説明されているユースケースをサポートできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100