Sensor and API Key
-
Hi,
Was looking at Chrome and Firefox’s console messages and saw these messages:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-requiredI’ve put the API key in the Pronamic Settings page so that is not a configuration issue.
Then I saw that in the script that is used on my page that it is included as
<script src="https://maps.googleapis.com/maps/api/js?sensor=false& amp;# 038;key=XXX"></script>
Had to add a space between the & and # so it doesn’t get modified here.
It seems somehow the script url was been escaped? And also the sensor=false is still used.I’ve commented out the sensor part in Maps.php line 192 locally and that has fix all issues.
Thought you may want to update the current version to have this fixup applied.Cheers
- The topic ‘Sensor and API Key’ is closed to new replies.