• JMap.Form.setFormValues

    Set form values of the given form.

    Parameters

    Returns JFormErrors

    Example

     const form = JMap.Form.getAttributeForm()
    // set values of the attribute form
    JMap.Form.setFormValues(form, {
    color: "white",
    type: "tree"
    })