Location mapservice: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) (Google Maps need a valid Google Map API Key) |
mNo edit summary |
||
Line 10: | Line 10: | ||
<!--T:321--> | <!--T:321--> | ||
If this option is activated, then the | If this option is activated, then the [[Question_type_-_Short_free_text|free text question type]] will display a map and not a text box to the respondents (they cannot be used both together concurrently). | ||
<!--T:327--> | <!--T:327--> | ||
Line 18: | Line 18: | ||
*Google Maps | *Google Maps | ||
{{Alert|Google Maps need a valid [[Global_settings#General|Google Map API Key]] | |||
{{Alert|Google Maps need a valid [[Global_settings#General|Google Map API Key]]!}} | |||
<!--T:323--> | <!--T:323--> | ||
{{Note|If the ''Google Maps'' option is selected and the question is set to '''mandatory''', the respondent must move the red point or enter the geographical data in the latitude/longitude textbox. The user cannot rely on the default values and hit the "Next" button. It is highly recommended to advise the users about this beforehand in the question text.}} | {{Note|If the ''Google Maps'' option is selected and the question is set to '''mandatory''', the respondent must move the red point or enter the geographical data in the latitude/longitude textbox. The user cannot rely on the default values and hit the "Next" button. It is highly recommended to advise the users about this beforehand in the question text.}} | ||
{{Note|''OpenStreetMap via MapQuest'' | |||
'''Advanced''' | |||
{{Note|''OpenStreetMap via MapQuest'' uses [https://www.geonames.org/ GeoNames] for the search box (with a user created for LimeSurvey). If you need to be sure that your access has not been restricted or if you use the GeoNames API a lot, the best best solution is to use [https://www.geonames.org/export/web-services.html GeoNames Webservices] and set it up in your [[Optional_settings#Introduction|config.php]] file.}} | |||
Revision as of 14:44, 1 April 2019
Use mapping service (location_mapservice)
Description
If this option is activated, then the free text question type will display a map and not a text box to the respondents (they cannot be used both together concurrently).
Available options
- Off (default)
- OpenStreetMap via MapQuest
- Google Maps
Google Maps need a valid Google Map API Key!
If the Google Maps option is selected and the question is set to mandatory, the respondent must move the red point or enter the geographical data in the latitude/longitude textbox. The user cannot rely on the default values and hit the "Next" button. It is highly recommended to advise the users about this beforehand in the question text.
Advanced
OpenStreetMap via MapQuest uses GeoNames for the search box (with a user created for LimeSurvey). If you need to be sure that your access has not been restricted or if you use the GeoNames API a lot, the best best solution is to use GeoNames Webservices and set it up in your config.php file.