N/APosted on - 02/20/2012
I have an error on testing cMap on the website I am creating. The error shows when loading the page and it says:
“The Google Maps API Server rejected your request. The “sensor” parameter specified in this request must be set to either “true” or “false”.
How can I set the correct source code for this?
Error on testing cMap on my website
Hi there! Although it shouldn't make any difference, have you tried putting the&sensor=false on the end of the URL? If you did and it still did not work, you can do this when you embed it use that sets it to false. In the example they have it as set_to_true_or_false so you do have to change it.
And if it still doesn’t work you can do this too, upgrade to gmap-6.x-1.x-dev.It will just take a minute to install Drupal 6.13 without anything else and GMap Module 6.x-1.1-rc1. Then you will get the message, “The Google Maps API server rejected your request. The reason for this could be that the API key used could be already registered for another website. You can generate a new key for this web site at https://developers.google.com/maps/
Hope this helped.