Welcome to the LimeSurvey Community Forum

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

Ability to add Google Maps as a question

More
5 years 2 weeks ago - 5 years 2 weeks ago #182800 by gremlin
Replied by gremlin on topic Ability to add Google Maps as a question
Hi there,

Yes you would need a google API. Not sure if you are still troubled by this. Thought that I would just share that I made the following changes and it seem to work well.

1) changed the <src>in b1994b's contribution to the following:

src=" maps.googleapis.com/maps/api/js?key={YOU...ries=geometry,places "

src=" ubilabs.github.io/geocomplete/jquery.geocomplete.js "

2) Added my api key in the global settings and in the script above.
Last edit: 5 years 2 weeks ago by gremlin.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 weeks ago #182809 by DenisChenu
Replied by DenisChenu on topic Ability to add Google Maps as a question
You can still offer pull request if LimeSurvey core can be improved …

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.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
5 years 2 weeks ago #182812 by tammo
Replied by tammo on topic Ability to add Google Maps as a question
Since we are an open source platform, it would be great if we could avoid Google Maps and use Open Street maps in stead.

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
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
5 years 2 weeks ago #182839 by DenisChenu
Replied by DenisChenu on topic Ability to add Google Maps as a question

tammo wrote: Since we are an open source platform, it would be great if we could avoid Google Maps and use Open Street maps in stead.

Tammo

Yes,

And create some js to use wiki.openstreetmap.org/wiki/Nominatim or (better) mapquest developer.mapquest.com/documentation/open/ ( developer.mapquest.com/documentation/open/geocoding-api/ ) with option to use own user API name

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
5 years 3 days ago #183381 by s9521070
Replied by s9521070 on topic Ability to add Google Maps as a question
Hi,
This is indeed a great additional question type.
I think it would really help if both the map is reoriented and the marker gets moved if one rightclicks the map. The current implementation requires the user to pick the marker and drag it to the right location, which is less user-friendly.
I am not proficient in jQuery, but this should be fairly easy with something like google.maps.event.addListener(map,'rightclick',function())
Could anyone help me out on how to implement this rightclick solution?

Thanks,
Stijn
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose