You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #3115 [Map][Google] Upgrade @googlemaps/js-api-loader to ^2.0 (Kocal)
This PR was merged into the 3.x branch.
Discussion
----------
[Map][Google] Upgrade `@googlemaps`/js-api-loader to ^2.0
| Q | A
| -------------- | ---
| Bug fix? | no
| New feature? | yes <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Documentation? | no <!-- required for new features, or documentation updates -->
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- For new features, provide some code snippets to help understand usage.
- Features and deprecations must be submitted against branch main.
- Update/add documentation as required (we can help!)
- Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- Never break backward compatibility (see https://symfony.com/bc).
-->
Let's take advantage of the upcoming 3.0 to upgrade ``@googlemaps`/js-api-loader` to [^2.0.0](https://github.com/googlemaps/js-api-loader/releases/tag/v2.0.0).
It is possible to backport it on UX 2.x, but requires much work for no added-value.
Commits
-------
c958639 [Map][Google] Upgrade `@googlemaps`/js-api-loader to ^2.0
|`id`| The id of the script tag|`__googleMapsScriptId`|
40
-
|`language`| Force language, see [list of supported languages](https://developers.google.com/maps/faq#languagesupport) specified in the browser | The user's preferred language |
41
-
|`region`| Unicode region subtag identifiers compatible with [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)||
42
-
|`nonce`| Use a cryptographic nonce attribute ||
43
-
|`retries`| The number of script load retries| 3|
44
-
|`url`| Custom url to load the Google Maps API script|`https://maps.googleapis.com/maps/api/js`|
45
-
|`version`| The release channels or version numbers |`weekly`|
46
-
|`libraries`| The additional libraries to load, see [list of supported libraries](https://googlemaps.github.io/js-api-loader/types/Library.html)|`['maps', 'marker']`, those two libraries are always loaded|
|`v`| The version of the Maps JavaScript API to load, could be a [release channels](https://developers.google.com/maps/documentation/javascript/versions) or version numbers |`weekly`|
40
+
|`language`| The language to use, see [list of supported languages](https://developers.google.com/maps/faq#languagesupport) specified in the browser| The user's preferred language |
41
+
|`region`| The region code to use, unicode region subtag identifiers compatible with [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)||
42
+
|`libraries`| Additional libraries to load, see [list of supported libraries](https://developers.google.com/maps/documentation/javascript/libraries#available-libraries)|`['maps', 'marker']`, those two libraries are always loaded|
43
+
|`authReferrerPolicy`| Set the referrer policy for the API requests||
44
+
|`mapIds`| An array of map IDs to preload ||
45
+
|`channel`| Can be used to track your usage||
46
+
|`solutionChannel`| Used by the Google Maps Platform to track adoption and usage of examples and solutions ||
0 commit comments