Actions

QS

Location mapservice: Difference between revisions

From LimeSurvey Manual

(Marked this version for translation)
mNo edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 6: Line 6:
===Use mapping service (location_mapservice)=== <!--T:319-->
===Use mapping service (location_mapservice)=== <!--T:319-->


<!--T:320-->
<!--T:326-->
NOTE: With Short Free Text questions:
'''Description'''


<!--T:321-->
<!--T:321-->
This question allows for either a short free text, or a map -- the LimeSurvey model does not intend for both, 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).
 
<!--T:327-->
'''Available options'''
*Off (default)
*OpenStreetMap via MapQuest
*Google Maps
 
 
<!--T:328-->
{{Alert|Google Maps needs a valid [[Global_settings#General|Google Map API Key]]!}}


<!--T:322-->
If the design intends a map, leave the defaultRows blank.  Placing a number, here, such as 0,1, etc, removes the map from the generated HTML code, and causes other errors.


<!--T:323-->
<!--T:323-->
If the map is enabled as a google map, and the question is set to '''mandatory''', the survey user must move the red point, or enter the Lat/Long text box. The user may not merely rely on the default, and hit the "NEXT" button. It is recommended that you so advise in the substance of 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.}}
 
 
<!--T:329-->
'''Advanced'''
 
 
<!--T:330-->
{{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.}}


 
<!--T:324-->
<!--T:324-->
</onlyinclude>
</onlyinclude>
<!--T:325-->
[[Category:Question Settings]][[Category:Question Location Options]]


</translate>
</translate>

Latest revision as of 09:35, 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.