Modify

Opened 12 years ago

Last modified 12 years 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 Scharrer
Priority: normal Component: GoogleMapMacro
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

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 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 in reply to:  description ; Changed 12 years ago by Ryan J Ollos

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 12 years 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 12 years ago by Martin Scharrer

Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Martin Scharrer.

Add Comment


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

 
Note: See TracTickets for help on using tickets.