integrating my own version of google maps and buttons with feedback

Plus d'informations
il y a 6 ans 7 mois - il y a 6 ans 7 mois #75120 par aliz
aliz a créé le sujet : 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
Dernière édition: il y a 6 ans 7 mois par aliz.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 7 mois #75152 par DenisChenu
DenisChenu a répondu au sujet : 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 .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 7 mois #75214 par Mazi
Mazi a répondu au sujet : integrating my own version of google maps and buttons with feedback

aliz écrit: 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
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!