Is there a way to have the tree selection reference an object request? Right now I have an HTML selection that first requests a json file through an click() event in javascript that parses the data to create circle markers with attributes sorted into layerGroups that are filtered through an overlay layer control module upon selection from the tree.
What I would like to do is instead trigger the request for the object when it is selected through the tree to then subsequently parse the data in the function that creates the circle markers and sorts them into layerGroups.
Is there a way to have the tree selection reference an object request? Right now I have an HTML selection that first requests a json file through an click() event in javascript that parses the data to create circle markers with attributes sorted into layerGroups that are filtered through an overlay layer control module upon selection from the tree.
What I would like to do is instead trigger the request for the object when it is selected through the tree to then subsequently parse the data in the function that creates the circle markers and sorts them into layerGroups.