childrenOfCluster method

NSArray childrenOfCluster(
  1. MLNPointFeatureCluster cluster
)

Returns an array of map features that are the immediate children of the specified cluster on the next zoom level. The may include features that also conform to the MLNCluster protocol (currently only objects of type MLNCluster).

@param cluster An object of type MLNPointFeatureCluster (that conforms to the MLNPointFeatureCluster protocol).

@return An array of objects that conform to the MLNFeature protocol.

Note: The returned array may contain the cluster that was passed in, if the next zoom level doesn't match the zoom level for expanding that cluster. See MLNShapeSource/zoomLevelForExpandingCluster:.

Implementation

objc.NSArray childrenOfCluster(MLNPointFeatureCluster cluster) {
  final _ret = _objc_msgSend_1sotr3r(this.ref.pointer, _sel_childrenOfCluster_, cluster.ref.pointer);
  return objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}