Opened 4 years ago

Macro does not work any more - needs upgrade to Google Maps API version 3

Reported by: Owned by: robin.pellatt@… Martin Scharrer normal GoogleMapMacro normal 1.0

Google Maps API version 2 is now deprecated and new keys will not work with it, therefore please update the macro to work with version 3.

As far as I can see the following changes are needed:

1. Change API version in tracgooglemap.js
2. Add new mandatory sensor parameter (should be set to false)

I tried making these changes but couldn't get the second to work. Thanks.

comment:1 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 in reply to:  description ; follow-up:  3 Changed 4 years ago by Ryan J Ollos

I tried making these changes but couldn't get the second to work. Thanks.

Could you post what you've done so far?

martin_s: Are you still maintaining this plugin?

comment:3 in reply to:  2 Changed 4 years ago by anonymous

Could you post what you've done so far?

I didn't spend long in it tbh. After changing the version it complains about a new parameter called "sensor", which I understand was optional in version 2 but is now mandatory in version 3, and should be set to false. However I couldn't see how to get that parameter added to the actual call to the maps API.

comment:4 Changed 4 years ago by Martin Scharrer

Status: new → assigned

Modify Ticket

Change Properties