View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05306Bug reportsSurvey takingpublic2011-08-17 00:10
ReporterRowzdower Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Summary05306: Google Map doesn't center on default Lat/Lon
Description

Hello - I'm fairly new to this product but I've spent countless hours with the new Google Map feature and this issue seems to have a bug. The map shows the arrow at the correct default Latitude/Longitude and these coordinates display correctly in the text box above the map, but the map centers several miles southeast of this location.

Steps To Reproduce

1) Create question with short text response; 2) Go into advanced function and choose Google Map API; 3) Set default Latitude/Longitude 4) Run survey; 5) Map should center on default coordinates but does not.

TagsNo tags attached.
Attached Files
limesurvey_survey_83151.lss (22,418 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Survey</LimeSurveyDocType>
 <DBVersion>145</DBVersion>
 <languages>
  <language>en</language>
 </languages>
 <conditions>
  <fields>
   <fieldname>cid</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>scenario</fieldname>
   <fieldname>cqid</fieldname>
   <fieldname>cfieldname</fieldname>
   <fieldname>method</fieldname>
   <fieldname>value</fieldname>
  </fields>
  <rows>
   <row>
    <cid><![CDATA[16]]></cid>
    <qid><![CDATA[181]]></qid>
    <scenario><![CDATA[1]]></scenario>
    <cqid><![CDATA[180]]></cqid>
    <cfieldname><![CDATA[83151X10X180]]></cfieldname>
    <method><![CDATA[==   ]]></method>
    <value><![CDATA[Y]]></value>
   </row>
  </rows>
 </conditions>
 <groups>
  <fields>
   <fieldname>gid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_name</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>description</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <gid><![CDATA[10]]></gid>
    <sid><![CDATA[83151]]></sid>
    <group_name><![CDATA[test]]></group_name>
    <group_order><![CDATA[0]]></group_order>
    <description><![CDATA[]]></description>
    <language><![CDATA[en]]></language>
   </row>
  </rows>
 </groups>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>question</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>help</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[180]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83151]]></sid>
    <gid><![CDATA[10]]></gid>
    <type><![CDATA[Y]]></type>
    <title><![CDATA[tet]]></title>
    <question><![CDATA[Show map]]></question>
    <preg><![CDATA[]]></preg>
    <help><![CDATA[]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[0]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83151]]></sid>
    <gid><![CDATA[10]]></gid>
    <type><![CDATA[S]]></type>
    <title><![CDATA[1]]></title>
    <question><![CDATA[<a id="bugnotes" name="bugnotes">45.7776 -108.5411</a>]]></question>
    <preg><![CDATA[]]></preg>
    <help><![CDATA[]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
   </row>
  </rows>
 </questions>
 <question_attributes>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>attribute</fieldname>
   <fieldname>value</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_disable_next]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[180]]></qid>
    <attribute><![CDATA[random_group]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[page_break]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[text_input_width]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[180]]></qid>
    <attribute><![CDATA[public_statistics]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_message]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_2_style]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_message]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_disable_prev]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_2_message]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_display_time]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_timer_style]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_mapheight]]></attribute>
    <value><![CDATA[300]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_state]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[180]]></qid>
    <attribute><![CDATA[scale_export]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[prefix]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[hidden]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[180]]></qid>
    <attribute><![CDATA[hidden]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_mapservice]]></attribute>
    <value><![CDATA[1]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_postal]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_city]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_message_style]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_message_delay]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[display_rows]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[suffix]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_country]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_style]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_action]]></attribute>
    <value><![CDATA[1]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[numbers_only]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_warning_2]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[180]]></qid>
    <attribute><![CDATA[page_break]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[random_group]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[maximum_chars]]></attribute>
    <value><![CDATA[]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_mapzoom]]></attribute>
    <value><![CDATA[11]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_defaultcoordinates]]></attribute>
    <value><![CDATA[45.7776 -108.5411]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_nodefaultfromip]]></attribute>
    <value><![CDATA[1]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[location_mapwidth]]></attribute>
    <value><![CDATA[500]]></value>
   </row>
   <row>
    <qid><![CDATA[181]]></qid>
    <attribute><![CDATA[time_limit_countdown_message]]></attribute>
    <value><![CDATA[]]></value>
   </row>
  </rows>
 </question_attributes>
 <surveys>
  <fields>
   <fieldname>sid</fieldname>
   <fieldname>admin</fieldname>
   <fieldname>startdate</fieldname>
   <fieldname>expires</fieldname>
   <fieldname>adminemail</fieldname>
   <fieldname>anonymized</fieldname>
   <fieldname>faxto</fieldname>
   <fieldname>format</fieldname>
   <fieldname>template</fieldname>
   <fieldname>language</fieldname>
   <fieldname>additional_languages</fieldname>
   <fieldname>datestamp</fieldname>
   <fieldname>usecookie</fieldname>
   <fieldname>allowregister</fieldname>
   <fieldname>allowsave</fieldname>
   <fieldname>printanswers</fieldname>
   <fieldname>autonumber_start</fieldname>
   <fieldname>autoredirect</fieldname>
   <fieldname>allowprev</fieldname>
   <fieldname>ipaddr</fieldname>
   <fieldname>refurl</fieldname>
   <fieldname>listpublic</fieldname>
   <fieldname>publicstatistics</fieldname>
   <fieldname>publicgraphs</fieldname>
   <fieldname>htmlemail</fieldname>
   <fieldname>tokenanswerspersistence</fieldname>
   <fieldname>assessments</fieldname>
   <fieldname>usecaptcha</fieldname>
   <fieldname>usetokens</fieldname>
   <fieldname>bounce_email</fieldname>
   <fieldname>attributedescriptions</fieldname>
   <fieldname>emailresponseto</fieldname>
   <fieldname>tokenlength</fieldname>
   <fieldname>savetimings</fieldname>
   <fieldname>showxquestions</fieldname>
   <fieldname>showgroupinfo</fieldname>
   <fieldname>shownoanswer</fieldname>
   <fieldname>showqnumcode</fieldname>
   <fieldname>bouncetime</fieldname>
   <fieldname>bounceprocessing</fieldname>
   <fieldname>bounceaccounttype</fieldname>
   <fieldname>bounceaccounthost</fieldname>
   <fieldname>bounceaccountpass</fieldname>
   <fieldname>bounceaccountencryption</fieldname>
   <fieldname>bounceaccountuser</fieldname>
   <fieldname>showwelcome</fieldname>
   <fieldname>showprogress</fieldname>
   <fieldname>allowjumps</fieldname>
   <fieldname>navigationdelay</fieldname>
   <fieldname>nokeyboard</fieldname>
   <fieldname>alloweditaftercompletion</fieldname>
   <fieldname>emailnotificationto</fieldname>
  </fields>
  <rows>
   <row>
    <sid><![CDATA[83151]]></sid>
    <admin><![CDATA[Your Name]]></admin>
    <startdate><![CDATA[]]></startdate>
    <expires><![CDATA[]]></expires>
    <adminemail><![CDATA[your-email@example.net]]></adminemail>
    <anonymized><![CDATA[N]]></anonymized>
    <faxto><![CDATA[]]></faxto>
    <format><![CDATA[G]]></format>
    <template><![CDATA[default]]></template>
    <language><![CDATA[en]]></language>
    <additional_languages><![CDATA[]]></additional_languages>
    <datestamp><![CDATA[N]]></datestamp>
    <usecookie><![CDATA[N]]></usecookie>
    <allowregister><![CDATA[N]]></allowregister>
    <allowsave><![CDATA[Y]]></allowsave>
    <printanswers><![CDATA[Y]]></printanswers>
    <autonumber_start><![CDATA[4]]></autonumber_start>
    <autoredirect><![CDATA[N]]></autoredirect>
    <allowprev><![CDATA[N]]></allowprev>
    <ipaddr><![CDATA[N]]></ipaddr>
    <refurl><![CDATA[N]]></refurl>
    <listpublic><![CDATA[Y]]></listpublic>
    <publicstatistics><![CDATA[N]]></publicstatistics>
    <publicgraphs><![CDATA[N]]></publicgraphs>
    <htmlemail><![CDATA[Y]]></htmlemail>
    <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence>
    <assessments><![CDATA[N]]></assessments>
    <usecaptcha><![CDATA[D]]></usecaptcha>
    <usetokens><![CDATA[N]]></usetokens>
    <bounce_email><![CDATA[your-email@example.net]]></bounce_email>
    <attributedescriptions><![CDATA[]]></attributedescriptions>
    <emailresponseto><![CDATA[test@test.de]]></emailresponseto>
    <tokenlength><![CDATA[15]]></tokenlength>
    <savetimings><![CDATA[N]]></savetimings>
    <showxquestions><![CDATA[Y]]></showxquestions>
    <showgroupinfo><![CDATA[B]]></showgroupinfo>
    <shownoanswer><![CDATA[Y]]></shownoanswer>
    <showqnumcode><![CDATA[X]]></showqnumcode>
    <bouncetime><![CDATA[]]></bouncetime>
    <bounceprocessing><![CDATA[N]]></bounceprocessing>
    <bounceaccounttype><![CDATA[]]></bounceaccounttype>
    <bounceaccounthost><![CDATA[]]></bounceaccounthost>
    <bounceaccountpass><![CDATA[]]></bounceaccountpass>
    <bounceaccountencryption><![CDATA[]]></bounceaccountencryption>
    <bounceaccountuser><![CDATA[]]></bounceaccountuser>
    <showwelcome><![CDATA[Y]]></showwelcome>
    <showprogress><![CDATA[Y]]></showprogress>
    <allowjumps><![CDATA[N]]></allowjumps>
    <navigationdelay><![CDATA[0]]></navigationdelay>
    <nokeyboard><![CDATA[N]]></nokeyboard>
    <alloweditaftercompletion><![CDATA[N]]></alloweditaftercompletion>
    <emailnotificationto><![CDATA[test@test.de]]></emailnotificationto>
   </row>
  </rows>
 </surveys>
 <surveys_languagesettings>
  <fields>
   <fieldname>surveyls_survey_id</fieldname>
   <fieldname>surveyls_language</fieldname>
   <fieldname>surveyls_title</fieldname>
   <fieldname>surveyls_description</fieldname>
   <fieldname>surveyls_welcometext</fieldname>
   <fieldname>surveyls_url</fieldname>
   <fieldname>surveyls_urldescription</fieldname>
   <fieldname>surveyls_endtext</fieldname>
   <fieldname>surveyls_email_invite_subj</fieldname>
   <fieldname>surveyls_email_invite</fieldname>
   <fieldname>surveyls_email_remind_subj</fieldname>
   <fieldname>surveyls_email_remind</fieldname>
   <fieldname>surveyls_email_register_subj</fieldname>
   <fieldname>surveyls_email_register</fieldname>
   <fieldname>surveyls_email_confirm_subj</fieldname>
   <fieldname>surveyls_email_confirm</fieldname>
   <fieldname>surveyls_dateformat</fieldname>
   <fieldname>email_admin_notification_subj</fieldname>
   <fieldname>email_admin_responses_subj</fieldname>
   <fieldname>email_admin_notification</fieldname>
   <fieldname>email_admin_responses</fieldname>
   <fieldname>surveyls_numberformat</fieldname>
  </fields>
  <rows>
   <row>
    <surveyls_survey_id><![CDATA[83151]]></surveyls_survey_id>
    <surveyls_language><![CDATA[en]]></surveyls_language>
    <surveyls_title><![CDATA[test]]></surveyls_title>
    <surveyls_description><![CDATA[]]></surveyls_description>
    <surveyls_welcometext><![CDATA[]]></surveyls_welcometext>
    <surveyls_url><![CDATA[]]></surveyls_url>
    <surveyls_urldescription><![CDATA[]]></surveyls_urldescription>
    <surveyls_endtext><![CDATA[]]></surveyls_endtext>
    <surveyls_email_invite_subj><![CDATA[Invitation to participate in a survey]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>
		Dear {FIRSTNAME},<br />
		<br />
		you have been invited to participate in a survey.<br />
		<br />
		The survey is titled:<br />
		&quot;{SURVEYNAME}&quot;<br />
		<br />
		&quot;{SURVEYDESCRIPTION}&quot;<br />
		<br />
		To participate, please click on the link below.<br />
		<br />
		Sincerely,<br />
		<br />
		{ADMINNAME} ({ADMINEMAIL})<br />
		<br />
		----------------------------------------------<br />
		Click here to do the survey:<br />
		{SURVEYURL}<br />
		<br />
		If you do not want to participate in this survey and don&#39;t want to receive any more invitations please click the following link:<br />
		{OPTOUTURL}</body>
</html>
]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Reminder to participate in a survey]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>
		Dear {FIRSTNAME},<br />
		<br />
		Recently we invited you to participate in a survey.<br />
		<br />
		We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br />
		<br />
		The survey is titled:<br />
		&quot;{SURVEYNAME}&quot;<br />
		<br />
		&quot;{SURVEYDESCRIPTION}&quot;<br />
		<br />
		To participate, please click on the link below.<br />
		<br />
		Sincerely,<br />
		<br />
		{ADMINNAME} ({ADMINEMAIL})<br />
		<br />
		----------------------------------------------<br />
		Click here to do the survey:<br />
		{SURVEYURL}<br />
		<br />
		If you do not want to participate in this survey and don&#39;t want to receive any more invitations please click the following link:<br />
		{OPTOUTURL}</body>
</html>
]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>
		Dear {FIRSTNAME},<br />
		<br />
		You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br />
		<br />
		To complete this survey, click on the following URL:<br />
		<br />
		{SURVEYURL}<br />
		<br />
		If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.</body>
</html>
]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Confirmation of your participation in our survey]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>
		Dear {FIRSTNAME},<br />
		<br />
		this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br />
		<br />
		If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.<br />
		<br />
		Sincerely,<br />
		<br />
		{ADMINNAME}</body>
</html>
]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[1]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Response submission for survey {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_responses_subj><![CDATA[Response submission for survey {SURVEYNAME} with results]]></email_admin_responses_subj>
    <email_admin_notification><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>
		Hello,{FIRSTNAME}<br />
		<br />
		A new response was submitted for your survey &#39;{SURVEYNAME}&#39;.<br />
		{TOKEN:FIRSTNAME}<br />
		<br />
		Click the following link to reload the survey:<br />
		{RELOADURL}<br />
		<br />
		Click the following link to see the individual response:<br />
		{VIEWRESPONSEURL}<br />
		<br />
		Click the following link to edit the individual response:<br />
		{EDITRESPONSEURL}<br />
		<br />
		View statistics by clicking here:<br />
		{STATISTICSURL}</body>
</html>
]]></email_admin_notification>
    <email_admin_responses><![CDATA[<html>
	<head>
		<title></title>
	</head>
	<body>
		<style type="text/css">
.printouttable {
                                                  margin:1em auto;
                                                }
                                                .printouttable th {
                                                  text-align: center;
                                                }
                                                .printouttable td {
                                                  border-color: #ddf #ddf #ddf #ddf;
                                                  border-style: solid;
                                                  border-width: 1px;
                                                  padding:0.1em 1em 0.1em 0.5em;
                                                }

                                                .printouttable td:first-child {
                                                  font-weight: 700;
                                                  text-align: right;
                                                  padding-right: 5px;
                                                  padding-left: 5px;

                                                }
                                                .printouttable .printanswersquestion td{
                                                  background-color:#F7F8FF;
                                                }

                                                .printouttable .printanswersquestionhead td{
                                                  text-align: left;
                                                  background-color:#ddf;
                                                }

                                                .printouttable .printanswersgroup td{
                                                  text-align: center;        
                                                  font-weight:bold;
                                                  padding-top:1em;
                                                }		</style>
		Hello,<br />
		<br />
		A new response was submitted for your survey &#39;{SURVEYNAME}&#39;.<br />
		<br />
		Click the following link to reload the survey:<br />
		{RELOADURL}<br />
		<br />
		Click the following link to see the individual response:<br />
		{VIEWRESPONSEURL}<br />
		<br />
		Click the following link to edit the individual response:<br />
		{EDITRESPONSEURL}<br />
		<br />
		View statistics by clicking here:<br />
		{STATISTICSURL}<br />
		<br />
		<br />
		The following answers were given by the participant:<br />
		{ANSWERTABLE}</body>
</html>
]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
   </row>
  </rows>
 </surveys_languagesettings>
</document>
limesurvey_survey_83151.lss (22,418 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)10267
I will donate to the project if issue is resolvedYes
BrowserFirefox 4 and IE 9
Database type & versionMySQL 5.1.56
Server OS (if known)linux
Webserver software & version (if known)Apache 2.2.19
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-06-28 18:11

administrator   ~15582

What coordinates are you entering?

Rowzdower

Rowzdower

2011-06-28 20:04

reporter   ~15589

I have multiple surveys that all do the same thing. On my latest the default location is 45.7776 -108.5411, which falls in the middle of Billings, Montana. The map centers around 45.7409 -108.4579, many miles southeast of the map arrow. Gray boxes also cover up part of the map.

It should be noted that it typically displays correctly (correct location and no gray boxes) when I hit the "preview" button. It's only when I run the survey (either "test this survey" or "live) that it displays incorrectly.

Rowzdower

Rowzdower

2011-07-01 16:17

reporter   ~15607

I believe I've isolated the bug. If the map question is visible when you enter the page, it works fine. If, I have the map question conditional on another question, i.e "would you be willing to identify your location on the map", when the follow up map question is revealed the map does not display correctly.

c_schmitz

c_schmitz

2011-07-05 17:41

administrator   ~15635

I can reproduce but currently do not see a reasonable affordable way to resolve it.
Just move your question to a different question group (and so show it on a different page) to prevent this issue.

c_schmitz

c_schmitz

2011-07-05 17:43

administrator   ~15636

Tony, do you see a way to resolve this? It is v2 of the GMaps API, basically after showing the question there needs to be

currentMap.checkResize();
currentMap.PanTo(Coords)

calls to center the map and fix the display but I currently can't find the exact point to bind/fire it when the conditions are changed

tpartner

tpartner

2011-07-05 18:01

partner   ~15639

Last edited: 2011-07-05 18:02

Rowzdower, can you please attach a small sample survey for me to test?

c_schmitz

c_schmitz

2011-07-05 18:47

administrator   ~15646

Attached sample survey

c_schmitz

c_schmitz

2011-07-05 18:48

administrator   ~15648

survey_runtime.js is your friend in this ;)

mdekker

mdekker

2011-07-06 13:19

reporter   ~15658

Seems fixed to me?

Rowzdower

Rowzdower

2011-07-06 17:38

reporter   ~15660

Still not working on my end unless the map question is visible by default when you enter the page. As an acceptable workaround, I have moved the map to its own page and set a condition to only show the page if the participant indicates willingness to find his/her location on the map.

tpartner

tpartner

2011-07-07 00:12

partner   ~15664

Last edited: 2011-07-07 00:13

Yeah, it's broken for me too.

Lemme play with it. I'd like to figure out why it's not centering in the first place rather than add a function to re-center when the question is shown by checkconditions().

mdekker

mdekker

2011-07-07 10:38

reporter   ~15668

http://stackoverflow.com/questions/1428178/problems-with-google-maps-api-v3-jquery-ui-tabs

hidden is the problem... when it is shown at first, then hidden it works for me when it is restored. maybe the suggestions from the link can help?

c_schmitz

c_schmitz

2011-08-09 17:44

administrator   ~15995

Hi Tony,

any good news about it? Are you still at it?

tpartner

tpartner

2011-08-09 19:08

partner   ~15996

Oh, I dropped this while on vacation. I'll look into it this week.

tpartner

tpartner

2011-08-10 20:21

partner   ~16010

Carsten/Menno, yeah, it's all about the map being initially hidden and therefor having no size.

I have committed a fix to the dev branch.

I added a function to survey_runtime.js (line 163) to reset the map with setCenter(). I didn't like panTo(), because it, well, panned, instead of snapping to the coords.

There is no solid way of putting a listener on an element to fire when it's shown so I've called the function in survey.php (lines 679-682) and group.php (lines 957-960).

I think that will take care of all situations where the question is shown by conditions (question-by-question and group-by-group) but let me know if you can think of anywhere else it needs to be called.

If you're happy with the fix, I'll roll it into the stable branch.

c_schmitz

c_schmitz

2011-08-11 18:45

administrator   ~16030

Fix looks fine. Please roll it to stable and CI. Thank you!

tpartner

tpartner

2011-08-12 17:16

partner   ~16051

Fixed in revision 10710.

c_schmitz

c_schmitz

2011-08-17 00:10

administrator   ~16077

New version released.

Issue History

Date Modified Username Field Change
2011-06-27 02:31 Rowzdower New Issue
2011-06-28 18:11 c_schmitz Note Added: 15582
2011-06-28 18:11 c_schmitz Assigned To => c_schmitz
2011-06-28 18:11 c_schmitz Status new => feedback
2011-06-28 20:04 Rowzdower Note Added: 15589
2011-06-28 20:04 Rowzdower Status feedback => assigned
2011-07-01 16:17 Rowzdower Note Added: 15607
2011-07-05 17:41 c_schmitz Note Added: 15635
2011-07-05 17:41 c_schmitz Status assigned => confirmed
2011-07-05 17:41 c_schmitz Assigned To c_schmitz => tpartner
2011-07-05 17:41 c_schmitz Status confirmed => assigned
2011-07-05 17:43 c_schmitz Note Added: 15636
2011-07-05 18:01 tpartner Note Added: 15639
2011-07-05 18:02 tpartner Note Edited: 15639
2011-07-05 18:47 c_schmitz File Added: limesurvey_survey_83151.lss
2011-07-05 18:47 c_schmitz Note Added: 15646
2011-07-05 18:48 c_schmitz Note Added: 15648
2011-07-06 13:19 mdekker Note Added: 15658
2011-07-06 17:38 Rowzdower Note Added: 15660
2011-07-07 00:12 tpartner Note Added: 15664
2011-07-07 00:13 tpartner Note Edited: 15664
2011-07-07 10:38 mdekker Note Added: 15668
2011-08-09 17:44 c_schmitz Note Added: 15995
2011-08-09 19:08 tpartner Note Added: 15996
2011-08-10 20:21 tpartner Note Added: 16010
2011-08-11 18:45 c_schmitz Note Added: 16030
2011-08-12 17:16 tpartner Note Added: 16051
2011-08-12 17:16 tpartner Status assigned => resolved
2011-08-12 17:16 tpartner Resolution open => fixed
2011-08-17 00:10 c_schmitz Note Added: 16077
2011-08-17 00:10 c_schmitz Status resolved => closed