Actions

QS

Location mapservice: Difference between revisions

From LimeSurvey Manual

(Marked this version for translation)
(Precision about geonames with mapquest)
Line 22: Line 22:


<!--T:323-->
<!--T:323-->
<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>
{{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'' use [http://www.geonames.org/ GeoNames] for search box with a user created for limesurvey. If you need to be sure your access was not restricted or if you use GeoNames api a lot : best solution is to create your [http://www.geonames.org/export/web-services.html GeoNames Web Services] and set it in your [[Optional_settings#Introduction|config.php]] file.}}
 
<!--T:324-->
<!--T:324-->
</onlyinclude>
</onlyinclude>

Revision as of 09:01, 1 April 2019


Use mapping service (location_mapservice)

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 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

  • Off (default)
  • OpenStreetMap via MapQuest
  • Google Maps
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.
OpenStreetMap via MapQuest use GeoNames for search box with a user created for limesurvey. If you need to be sure your access was not restricted or if you use GeoNames api a lot : best solution is to create your GeoNames Web Services and set it in your config.php file.