Modify

Opened 19 months ago

Last modified 19 months ago

#11040 assigned defect

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

Reported by: robin.pellatt@… Owned by: martin_s
Priority: normal Component: GoogleMapMacro
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by rjollos)

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.

Attachments (0)

Change History (4)

comment:1 Changed 19 months ago by rjollos

  • Description modified (diff)

comment:2 in reply to: ↑ description ; follow-up: Changed 19 months ago by rjollos

Replying to robin.pellatt@gmail.com:

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 19 months ago by anonymous

Replying to rjollos:

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 19 months ago by martin_s

  • Status changed from new to assigned

Add Comment

Modify Ticket

Action
as assigned The owner will remain martin_s.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.