View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13471 | Feature requests | Other | public | 2018-03-13 14:52 | 2018-08-07 17:01 |
Reporter | poiche54 | Assigned To | DenisChenu | ||
Priority | none | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Fixed in Version | 3.0 | ||||
Summary | 13471: Allow expression in default location (map) | ||||
Description | I have a strange phenomenon. I select a position in a first map. So I have the longitude and latitude references. When I put these longitude latitude couple in a second map at Open Street Map I do not find myself at the place of my selection made to the first map, while if I use Google Maps for the second map it works normally . | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Story point estimate | |||||
Users affected % | |||||
I cannot reproduce the issue using your test survey. |
|
As I wrote before, when I choose for example Montpellier in the first map (South-East of France) the latitude and longitude are given in the data of the question. I take these data that I put in the second map characteristics (see the {str_replace(";"," ",localisation)} in default position, the latitude and longitude from the first map), normally I should get a zoomed map around Montpellier, but the map displayed is the one around Hamburg in Germany !!! That's the problem. |
|
This problem appends only with Open Street Map. No problem with with Google Map. I just made some other tests, |
|
If you set manually position to same value : it work ? |
|
@c_schmitz you can give it to me if needed |
|
I don't understand why it work in gmap. It's surely gmap system about 'last position set in gmap' |
|
OK, more a new feature : center part are not set to expression usage https://github.com/LimeSurvey/LimeSurvey/blob/b3991a41f32195a5b064690fa9d000700e1dc053/application/helpers/questionHelper.php#L491 (expression => '1' mean : allow usage of expression (if you add {), expression => '3' mean : forced usage of expressio (we add the { }). ) Visual difference are clear for 2, but don't find a way for 1 … |
|
Patch https://github.com/LimeSurvey/LimeSurvey/pull/1039 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=27017 |
|
Release 3.14.2+180807 |
|
LimeSurvey: master eaece8e3 2018-04-17 20:27
Committer: GitHub Details Diff |
New feature 13471: Allow expression in default location (map) Dev: i know it's new feature, but really easy and no potential issue |
Affected Issues 13471 |
|
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/helpers/questionHelper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-13 14:52 | poiche54 | New Issue | |
2018-03-13 14:52 | poiche54 | File Added: test_openStreetMap.lss | |
2018-03-15 17:23 | c_schmitz | Assigned To | => c_schmitz |
2018-03-15 17:23 | c_schmitz | Status | new => feedback |
2018-03-15 17:23 | c_schmitz | Note Added: 47085 | |
2018-04-11 15:26 | poiche54 | Note Added: 47403 | |
2018-04-11 15:26 | poiche54 | Status | feedback => assigned |
2018-04-11 15:32 | poiche54 | Note Added: 47404 | |
2018-04-11 18:43 | DenisChenu | Note Added: 47407 | |
2018-04-11 18:43 | DenisChenu | Note Added: 47408 | |
2018-04-11 18:59 | DenisChenu | Assigned To | c_schmitz => DenisChenu |
2018-04-11 19:00 | DenisChenu | Note Added: 47409 | |
2018-04-12 10:58 | DenisChenu | Note Added: 47411 | |
2018-04-12 10:59 | DenisChenu | Project | Bug reports => Feature requests |
2018-04-12 10:59 | DenisChenu | Product Version | 3.3.x => |
2018-04-12 10:59 | DenisChenu | Summary | Problem using OpenStreetMap => Allow expression in default location (map) |
2018-04-12 11:06 | DenisChenu | Note Added: 47412 | |
2018-04-17 18:27 |
|
Changeset attached | => LimeSurvey master eaece8e3 |
2018-04-17 18:27 |
|
Note Added: 47442 | |
2018-04-17 18:27 |
|
Assigned To | DenisChenu => user70560 |
2018-04-17 18:27 |
|
Resolution | open => fixed |
2018-04-18 10:41 | DenisChenu | Assigned To | user70560 => DenisChenu |
2018-04-18 10:41 | DenisChenu | Status | assigned => resolved |
2018-04-18 10:41 | DenisChenu | Fixed in Version | => 3.0 |
2018-08-07 17:01 |
|
Status | resolved => closed |
2018-08-07 17:01 |
|
Note Added: 48738 |