[Tickets #14525] Fix warnings in Google Maps API calls

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Nov 30 10:44:48 UTC 2016


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14525
------------------------------------------------------------------------------
  Ticket             | 14525
  Created By         | arjen+horde at de-korte.org
  Summary            | Fix warnings in Google Maps API calls
  Queue              | Horde Base
  Version            | 5.2.12
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2016-11-30 10:44) wrote:

When using the Google Maps API, three warnings are shown in the  
console ( NoApiKeys,  RetiredVersion and  SensorNotRequired). The  
attached patch fixes these.

I'm not entirely sure which version to choose to replace the retired  
'v=3.5', both 'v=3' and 'v=3.26' seem to work fine as of today. The  
first will probably prevent future warnings about retired versions (as  
it will always select the latest released version), at the risk that  
something might break if it is incompatible with existing Horde code.  
The latter will prevent that, at the 'cost' of quarterly (or  
half-yearly) updates of the version to prevent this warning from  
popping up again.

Last it also changes 'maps.google.com' to 'maps.googleapis.com' as  
this seems to be the recommended name now.



arjen+horde at de-korte.org (2016-11-30 10:44) uploaded: map.js.diff

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=map.js.diff&ticket=14525&fn=%2Fmap.js.diff





More information about the bugs mailing list