View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
14399Feature requestsSurvey editingpublic2019-01-10 19:25
ReporterDenisChenu Assigned Tomarkusfluer 
PrioritynoneSeverityfeature 
Status assignedResolutionopen 
Summary14399: MAP question : Set default position (if none is set) by config
Description

Currently : default position is set to Hamburg, i like to have it by config : string by config.php

TagsNo tags attached.
Attached Files
Bug heat4
Story point estimate
Users affected %

Relationships

related to 14396 closedmarkusfluer Bug reports Map question with default position/answer very confusing 

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2019-01-10 15:17

developer   ~50147

"Currently : default position is set to Hamburg" :)

LouisGac

LouisGac

2019-01-10 15:18

developer   ~50148

markus, it's a small change in qanda, could you do it while you refactor it?

DenisChenu

DenisChenu

2019-01-10 15:52

developer   ~50153

Last edited: 2019-01-10 19:25

PS :
Hamburg is set in javascript file, i think the most easy is to use a final default position : $currentPosition = ($attribute[position]) ? $attribute[position] : App()->getConfig('defaultposition').

Seems the easiest fix. But this is really OK with OSM, not OK with GMAP : need fix GMAP befoe (default position must not set the marker (and the answer)).

Issue History

Date Modified Username Field Change
2019-01-05 13:04 DenisChenu New Issue
2019-01-05 13:04 DenisChenu File Added: limesurvey_survey_mapTest.lss
2019-01-05 13:04 DenisChenu Relationship added related to 14396
2019-01-10 15:17 LouisGac Note Added: 50147
2019-01-10 15:17 LouisGac Assigned To => markusfluer
2019-01-10 15:17 LouisGac Status new => assigned
2019-01-10 15:18 LouisGac Note Added: 50148
2019-01-10 15:52 DenisChenu Note Added: 50153
2019-01-10 19:25 DenisChenu Note Edited: 50153
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing