This class is used to represent a branch of the dictionary tree.
The constructor
Name | Type | Description |
---|---|---|
itemName | String | The name of the item |
isRoot | Boolean | True when the item is the root item ( = the dictionary ) |
An array of arrays of objects. This is used to filter the results received from osm. Each sub array is a line in the TravelNotesSearchDictionary Each object in a sub array is a cell in the TravelNotesSearchDictionary
A boolean indicating when the item is expanded by the user
A boolean indicating when the item is the root item.
A boolean indicating when the item is selected by the user
An array with subitems if any
The name displayed to the user
A unique identifier given to the DictionaryItem
Change the value of elementTypes to only one value
Name | Type | Description |
---|---|---|
elementType | String | The element type to set must be one of 'node', 'way' or 'relation' |
An array of arrays of objects. This is used to filter the results received from osm. Each sub array is a line in the TravelNotesSearchDictionary Each object in a sub array is a cell in the TravelNotesSearchDictionary
A boolean indicating when the item is expanded by the user
A boolean indicating when the item is the root item.
A boolean indicating when the item is selected by the user
An array with subitems if any
The name displayed to the user
A unique identifier given to the DictionaryItem