visibleAnnotationsInRect method
NSArray?
visibleAnnotationsInRect(
- CGRect rect
Returns the list of annotations associated with the receiver that intersect with the given rectangle.
@param rect A rectangle expressed in the map view’s coordinate system.
@return An array of objects that adopt the MLNAnnotation protocol or nil if
no annotations associated with the map view are currently visible in the
rectangle.
Implementation
objc.NSArray? visibleAnnotationsInRect(objc.CGRect rect) {
final _ret = _objc_msgSend_15yz4e6(this.ref.pointer, _sel_visibleAnnotationsInRect_, rect);
return _ret.address == 0 ? null : objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}