Skip to content
Kristoffer Snabb edited this page May 7, 2012 · 1 revision

Questionnaire API

The questionnaire API is a set of javascript functions that creates form elements and handles the saving and retreiving of features and property values for the questionnaire user.

Requirements

The API requires geojson _ rest, gntauth, maps, OpenLayers and JQuery applications to be installed and/or loaded in the HTML.

Make sure to add these or equivalent script tags to your HTML.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script src="OpenLayers.js"></script>
<script type="text/javascript" src="geonition.js"></script>
<script type="text/javascript" src="questionnaire-map.js"></script>

Clone this wiki locally