Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Google Map error

  • tixeon
  • tixeon's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #185156 by tixeon
Google Map error was created by tixeon
Hi,
I am trying to use the Google map question functionality. I have registered an API with Google and pasted it into the global settings. However, when the question loads I get the following error.



The API has been configured for my URL.

LS Pro (hosted version) Version 3.17.4

File Attachment:

File Name: limesurvey...4389.lss
File Size:36 KB


If this is not fixable, is there a way to hide the search box for the MapQuest map? I am happy to use that instead, but I don't want the search box.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago - 4 years 9 months ago #185158 by DenisChenu
Replied by DenisChenu on topic Google Map error
Seems the API key are not in the survey.

[edit] Sorry … Google MAP api … not analytics …

Did you double check the API key at http://..../admin/globalsettings#general



Else

LS Pro (hosted version) Version 3.17.4

See www.limesurvey.org/customer-support/contact-us

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 4 years 9 months ago by DenisChenu.
The topic has been locked.
  • tixeon
  • tixeon's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #185286 by tixeon
Replied by tixeon on topic Google Map error
Thank you. I have contacted support and as per their advice spent 2-3 hours trying to navigate google's developer pages and try countless methods to fix it and nothing seems to work.
I don't have the time to keep battling google.
Therefore, instead, is there a code I can add to hide the search box for the MapQuest version?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #185291 by DenisChenu
Replied by DenisChenu on topic Google Map error
In custom.css of theme (extended theme).

.geoname_search{display:none}

Else : if you're OK : you can send me your google map API key to check the error (no warranty of functionnality, my honor to not use it (and delete it from memory after checked)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tixeon, cdorin
The topic has been locked.
More
4 years 9 months ago #185297 by cdorin
Replied by cdorin on topic Google Map error
Ok, created a free trial account. Got my own google maps API. Added a HTTP refferer and everything seems to be working fine without any issue. Could you perhaps try to create another API key and add the two domains as HTTP referrers?

In case you want to use openstreets + hide the search box, see @Denis' answer.

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #185304 by DenisChenu
Replied by DenisChenu on topic Google Map error

cdorin wrote: Ok, created a free trial account. Got my own google maps API.

:blink: How do you do that … trying but seems even one call i must pay … :unsure:

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
4 years 9 months ago - 4 years 9 months ago #185308 by cdorin
Replied by cdorin on topic Google Map error
They had my card details (guess when I bought some stuff from Google Play in the past). And told me that I have a 300$ budget in the beginning + they won't charge me unless I tell them to do so.

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
Last edit: 4 years 9 months ago by cdorin.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • tixeon
  • tixeon's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 9 months ago #185330 by tixeon
Replied by tixeon on topic Google Map error
Thanks, I tried creating a new google account, creating a fresh new API, adding the 2 URLs (both with and without /* at the end) and it still won't work (also checked to make sure there were no spaces in the API paste in global settings).
The pro support person was able to get it to work in my install with their API so I have no idea why it will never work with the ones I generate. I am just going to use MapQuest and hide the search box as per Denis' info.
Thanks anyway for the info.
The topic has been locked.
More
4 years 9 months ago #185338 by cdorin
Replied by cdorin on topic Google Map error
Sorry to hear about your issues :( . As long as we are not able to replicate it, I can't really do that much from here.

Maybe you can contact the Google Support?

However, the openstreets map should do its job in the same manner :)

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose