I get this error in the console:
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messag...
SensorNotRequired Warning
From Google dev documentation:
The sensor parameter is no longer required for the Google Maps JavaScript API. It won't prevent the Google Maps JavaScript API from working correctly, but we recommend that you remove the sensor parameter from the script element.
https://developers.google.com/maps/documentation/javascript/error-messages
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | geofield_gmap-SensorNotRequired-2660778-3.patch | 577 bytes | sylvainm |
| #2 | geofield_gmap-SensorNotRequired-2660778-1.patch | 668 bytes | mortona2k |
Comments
Comment #2
mortona2k commentedThis patch removes ?sensor=false
Comment #3
sylvainm commentedI think the patch should look like this one :-)
Comment #4
ollie222 commentedThe patch in #3 looks to fix the warning message, thank you.
Comment #5
marcoscanoPatch in #3 correctly removes the javascript warning.
Marking as RTBC
Comment #6
vlooivlerke commentedHi, this breaks this patch
https://www.drupal.org/node/2746209#comment-11386117
'data' => '//maps.googleapis.com/maps/api/js?sensor=false' . $api_key_query_param,
Comment #7
josueValRob commenteddo you have something for drupal 7??
Comment #9
seanbThanks, committed to 2.x!