Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Map Search Box not showing

More
7 years 1 month ago - 7 years 1 month ago #171045 by lalato
I'm trying to use Short Free Text with a Map to capture location data. When I first created the question, there was a search box above the map followed by Latitude and Longitude fields. Now, suddenly, the search box has mysteriously vanished. The map and lat/long boxes are still there.

Any idea how I get it back?

Thanks!
LS 3.13.2+180709
Last edit: 7 years 1 month ago by lalato.
The topic has been locked.
More
7 years 1 month ago #171050 by DenisChenu
What map typ you use ? Can you look at your javascript console log (can be shown with F12 with firefox)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
7 years 1 month ago #171129 by lalato
Replied by lalato on topic Map Search Box not showing
Map: OpenStreetMap.
OS: MacOS 10.13.5

One thing I noticed this morning... It appears to be working in Safari, but not in Firefox or Chrome.

In the Firefox Console, I see several CSS warnings, but nothing else.
The topic has been locked.
More
7 years 1 month ago #171138 by DenisChenu
Can you give us a link to a simple survey with just the map ?
To see if we have issue too or not.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
7 years 1 month ago #171146 by lalato
Replied by lalato on topic Map Search Box not showing
Here's a link to a single question survey with just one short text question and map.
The topic has been locked.
More
7 years 1 month ago #171148 by Joffm
Replied by Joffm on topic Map Search Box not showing
Hi, lalato,

there is no link.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
7 years 1 month ago #171193 by lalato
The topic has been locked.
More
7 years 1 month ago #171215 by DenisChenu
Oh … sh… something only on Mac …

Sorry … no solution for me … (it work or firefox and chromium).

Maybe report the issue to the bug tracker …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
7 years 1 month ago #171225 by lalato
Replied by lalato on topic Map Search Box not showing
I have submitted a bug report.

This is such a strange issue. It was working before in Safari, but now it doesn't work for me in any browser.
The topic has been locked.
More
7 years 1 month ago #171560 by lalato
Replied by lalato on topic Map Search Box not showing
This appears to be an encryption issue.

When LS is setup with https OpenStreetMap doesn't display the search box. When it is set up without encryption the search box displays without issue.

There could also be some MacOS related component here, but the workaround for me (at least for OpenStreetMaps search box) is to run the survey without https.
The topic has been locked.
More
7 years 1 month ago #171571 by DenisChenu
Hi,

Sorry : it's for search box, right, currently we disable it for https, we need to update to another API .

github.com/LimeSurvey/LimeSurvey/blob/30.../scripts/map.js#L226

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
7 years 1 month ago #171629 by lalato
Replied by lalato on topic Map Search Box not showing
What is strange to me is that there are times when it appears to work fine with https, but other times it doesn't.
The topic has been locked.
More
6 years 8 months ago #178382 by lalato
Replied by lalato on topic Map Search Box not showing
Sorry to resurrect an old thread, but wondering if any changes have been made or if there are any new map APIs available for use?
The topic has been locked.
More
6 years 8 months ago #178391 by DenisChenu
4 montsh : not so old, else : no update on this issue

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
6 years 5 months ago #182226 by lalato
Replied by lalato on topic Map Search Box not showing
I believe I have resolved this issue. The search box won't work with https when using the standard api.geonames.org. You have to change to secure.geonames.org.

Once I corrected for this (and removed the conditional clause which removed the search box), everything worked as expected.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose