EsriEduNL / veldwerk2.0

WebApp to use ArcGIS Online Organization account for student field trips
GNU General Public License v2.0
1 stars 0 forks source link

QuestionsLayer #62

Open dhunink opened 9 years ago

dhunink commented 9 years ago

Several functions need to know which layer of the webmap contains the Questions. If no questions layer is present, the webmap can't be used in this webmap.

Combining the statements above, we should switch to defining a global variable (preferable via localStorage or window.property) containing the ID of the layer containing the question, when a user selects a webmap. We should throw an error when the user selected a webmap that doesn't contain such a layer.