setDepth
The depth property makes it possible to get the n'th descendant of a parent location
Thus, the depth property only applies to filters that has set one or more parents. The hierarchical tree of data is generally structured as Venue >Building >Floor >Room >POI. For example, this means that a Floor is the 1st descendant of a Building. So to get all locations inside a Building, set the depth to 3. The default value is 1, giving you only the immediate descendant of the specified parents.
Return
Parameters
depth
depth