Actions

QS

Location mapservice/en: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
'''Description'''
'''Description'''


If this option is activated, then the short free text will display a map and not a text box (they cannot be used both together concurrently).
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).
 
{{Alert|Title=Attention|text=If the question design involves the display of a map, leave the defaultRows blank. Placing a number in the respective field (such as 0 or 1) removes the map from the generated HTML code, causing other errors.}}


'''Available options'''
'''Available options'''
Line 15: Line 13:
*Google Maps
*Google Maps


<div class="simplebox"> [[File:help.png]] 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.</div>


{{Alert|Google Maps needs a valid [[Global_settings#General|Google Map API Key]]!}}
{{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.}}
'''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.}}
 
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Question Location Options]]
[[Category:Question Settings]][[Category:Question Location Options]]

Latest revision as of 09:40, 5 June 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 needs 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.