caseData Property

Description

The caseData property allows you to pass street and/or vehicle labels into the Web SDK editor. The editor makes these values available to the user for drag-and-drop street and vehicle labeling. The specified street labels will be shown in the symbol manager under "Labels" when the Streets layer is selected. Vehicle labels will be shown under "Vehicle > Labels" when the Symbols layer is selected.

Use set method of the ESDWeb object to set this property as illustrated below.

Example

editor = new window.__editor(undefined, document.getElementById('editor-node'));

editor.startup(...):

// Set sample case-specific data.
editor.set('caseData', {
    'streetLabels': [
        'Main Street',
        'Second Street'
    ],
    'unitLabels': [
        '1997 Chevrolet',
        '1972 Ford',
        '2007 Toyota'
    ]
});