@mapgear/geoapps > LayerItem > (constructor)
LayerItem.(constructor)
Constructs a new instance of the LayerItem
class
constructor(map: Map, categoryType: LayerCategoryType, displayType: LayerDisplayType, parentLayer?: LayerItem);
Parameters
Parameter | Type | Description |
---|---|---|
map | Map | |
categoryType | LayerCategoryType | |
displayType | LayerDisplayType | |
parentLayer | LayerItem | (Optional) |