selectedAnnotations property
The currently selected annotations.
Assigning a new array to this property selects only the first annotation in the array.
If the annotation is of type MLNPointAnnotation and is offscreen, the camera
will animate to bring the annotation and its callout just on screen. If you
need finer control, consider using -selectAnnotation:animated:.
Note: In versions prior to
4.0.0if the annotation was offscreen it was not selected.
Implementation
objc.NSArray get selectedAnnotations {
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_selectedAnnotations);
return objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}
The currently selected annotations.
Assigning a new array to this property selects only the first annotation in the array.
If the annotation is of type MLNPointAnnotation and is offscreen, the camera
will animate to bring the annotation and its callout just on screen. If you
need finer control, consider using -selectAnnotation:animated:.
Note: In versions prior to
4.0.0if the annotation was offscreen it was not selected.
Implementation
set selectedAnnotations(objc.NSArray value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setSelectedAnnotations_, value.ref.pointer);
}