The Google Map Field module causes a browser javascript error :

Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messag...

The sensor parameter is no longer required

The Google Maps docs have been updated and as of June 2014 and the &sensor parameter is no longer required for JavaScript or Web Service API calls. The parameter will now be ignored if passed along with any request.
docs - https://developers.google.com/maps/documentation/javascript/tutorial

The attached patch removes all references to sensor=true from the module

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shopoftheworld created an issue. See original summary.

shopoftheworld’s picture

Status: Active » Needs review
shopoftheworld’s picture

validoll’s picture

Status: Needs review » Reviewed & tested by the community

Work's fine!

shaneod’s picture

I'm getting the following errors:

Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messag... @ js:35

maps.googleapis.com/maps-api-v3/api/js/28/6/intl/en_gb/util.js:211 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messag...
aB.j @ maps.googleapis.com/maps-api-v3/api/js/28/6/intl/en_gb/util.js:211

maps.googleapis.com/maps-api-v3/api/js/28/6/intl/en_gb/util.js:211 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messag...

shaneod’s picture

Patch doesn't seem to have made any difference.

Marcus 78’s picture

It made one difference, the Google Maps API warning: SensorNotRequired warning is gone :)

Get same problem as shaneod!

Marcus 78’s picture

Only working i view mode and not in creating a new node

Marcus 78’s picture

Check this issue if you have problem getting it working

https://www.drupal.org/node/2862552

maximpodorov’s picture

The new patch has proper structure and the same content.

Kris77’s picture

Get same problem as @shaneod and @Marcus78...

The module seems unusable.

jcnventura’s picture

RTBC++ This gets rid of the sensor warning

The module is usable, But in any case, the 'unusable' comments in #5, #6, #7, #8, #9 and #11 seemt to be their own, unrelated issue.

scot.hubbard’s picture

Status: Reviewed & tested by the community » Fixed
scot.hubbard’s picture

Status: Fixed » Closed (fixed)