Skip to content

Deprecated and non-supported parameters when calling Google Maps JavaScript API #8

Closed

Description

While investigating an error related to the Google Maps Javasctip API, I found these warning messages in the Android device logfile:

12-30 20:46:38.185 31943 31943 I chromium: [INFO:CONSOLE(219)] "Google Maps JavaScript API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version", source: https://maps.googleapis.com/maps-api-v3/api/js/35/6/intl/sv_ALL/util.js (219)
12-30 20:46:38.186 31943 31943 I chromium: [INFO:CONSOLE(219)] "Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required", source: https://maps.googleapis.com/maps-api-v3/api/js/35/6/intl/sv_ALL/util.js (219)

When asked, this is what Google support answered about these warnings:

The "RetiredVersion" means that the application is making a request to a version of Google Maps JavaScript API that is already retired. A way to fix this is to replace the version in the request URL. The request URL can also be found in the logs that you have sent:

https://maps.googleapis.com/maps/api/js?v=3.9&sensor=false&key=[your_map_key]

The v=3.9 is not an updated version. But, this has to be fixed by the Corona team, since they are the ones who set that up.

Another error says "SensorNotRequired". This means that the request URL is also using a deprecated parameter which is "sensor". This parameter is no longer working and should no longer be used. This can also be fixed only by the the Corona Team.

In other words: none of this causes any harm but one parameter is deprecated and the other is no longer supported. These should be changed and removed respectively.

Activity

  1. added a commit that references this issue on Jul 8, 2021
    2277012
  2. added a commit that references this issue on Jan 20, 2025
    a08d21d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions