integrating my own version of google maps and buttons with feedback

More
5 years 8 months ago - 5 years 8 months ago #75120 by aliz
aliz created the topic: integrating my own version of google maps and buttons with feedback
Dear all,

I am new to LimeSurvey and this forum. So for a quick introduction I study at University of Zurich geography and my master thesis is about abstraction and realism in geographic visualizations. For that I need a survey with Google Maps/ Earth plug-in.
You can find the test version here: www.geo.uzh.ch/~aboer/ (copy paste link)

I think LimeSurvey is the best solution for implementing this, but I have just basic programming skills and have already few questions. :ohmy:

How can I integrate the easiest way my own version of google maps (created with map api)? I was thinking integrating it as a page is easier than just edit the GmapsInitialize function in survey_runtime.js

Here is the page I want to integrate as a map: www.geo.uzh.ch/~aboer/ (copy paste link)

You can see I also have the buttons which change the Google Maps views separately and that's my bigger problem. I want to get feedback (how many times they were clicked for how long) from these buttons. Because LimeSurvey does not have any buttons integrated I have to create them and store the information into the database. Seems very hard to do it :S

Thank you for your help and every suggestion is welcome!

Aliz
Last Edit: 5 years 8 months ago by aliz.

Please Log in to join the conversation.

More
5 years 8 months ago #75152 by DenisChenu
DenisChenu replied the topic: integrating my own version of google maps and buttons with feedback
Hello,

You can replace some javascript function of survey_runtime.js:
Put this line :
<script type="text/javascript" src="{TEMPLATEURL}mygmap.js"></script>
At the end of yout endpage.pstpl file.

And in mygmap.js you can replace
GMapsInitialize or OSMapInitialize function with your own map initialize function.

I'm not sure if you can have your own map with this, but if i had to do that i start like this.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 8 months ago #75214 by Mazi
Mazi replied the topic: integrating my own version of google maps and buttons with feedback

aliz wrote: You can see I also have the buttons which change the Google Maps views separately and that's my bigger problem. I want to get feedback (how many times they were clicked for how long) from these buttons. Because LimeSurvey does not have any buttons integrated I have to create them and store the information into the database. Seems very hard to do it :S

I think it's easier to create your own survey script if you just want to trigger how often that button was clicked. Maybe you can even trigger this by using Googel Analytics on your current page?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!