Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

apiversion value used for Google Map API version is no more supported by Google Map API versioning #1573

@jlj44

Description

@jlj44

Issue description
Google Map API version is defined in github in .../packages/core/services/maps-api-loader/lazy-maps-api-loader.ts.
And it is written 'v: this._config.apiVersion || '3' ', that means that the parameter used is 'v=3'.
I have checked in Google Map API versioning documentation what it is the definition of 'v=3' : https://developers.google.com/maps/documentation/javascript/versions. That value is not defined.
I have asked on a dedicated forum about the google-map-api-v3 and the answer is : "That used to be how google suggested requesting the "release" version of the API (before the weekly/quarterly versions were added) from an old version of the documentation on archive.org: https://web.archive.org/web/20160611023838/https://developers.google.com/maps/documentation/javascript/versions."
As mentionned in the new Google Map API versioning , "If you do not explicitly specify a channel or version, you will receive the weekly channel by default" (v=weekly). As 'v=3' is no more supported by Google Map API versioning, it means that it is like v=weekly (channel for current release).
So my recommandation will be to change in AGM code 'v=3' by 'v=weekly' that corresponds to the new Google Map API versioning (refer also to the releases https://developers.google.com/maps/documentation/javascript/releases).

Steps to reproduce and a minimal demo of the problem

_Use https://plnkr.co or similar -- try this template as a starting point: http://plnkr.co/edit/YX7W20?p=preview

What steps should we try in your demo to see the problem?

Current behavior
"v=3"

Expected/desired behavior
"v=weekly" to be compliant with the new Google Map API versioning (refer also to the releases https://developers.google.com/maps/documentation/javascript/releases).

angular2 & angular-google-maps version

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions