iconAllowsOverlap property

NSExpression get iconAllowsOverlap

If true, the icon will be visible even if it collides with other previously drawn symbols.

The default value of this property is an expression that evaluates to NO. Set this property to nil to reset it to the default value.

This property is only applied to the style if iconImageName is non-nil, and iconOverlap is set to nil. Otherwise, it is ignored.

This attribute corresponds to the icon-allow-overlap layout property in the MapLibre Style Spec.

You can set this property to an expression containing any of the following:

Constant Boolean values Predefined functions, including mathematical and string operators Conditional expressions Variable assignments and references to assigned variables Step functions applied to the $zoomLevel variable

This property does not support applying interpolation functions to the $zoomLevel variable or applying interpolation or step functions to feature attributes.

Implementation

NSExpression get iconAllowsOverlap {
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_iconAllowsOverlap);
  return NSExpression.castFromPointer(_ret, retain: true, release: true);
}
set iconAllowsOverlap (NSExpression value)

If true, the icon will be visible even if it collides with other previously drawn symbols.

The default value of this property is an expression that evaluates to NO. Set this property to nil to reset it to the default value.

This property is only applied to the style if iconImageName is non-nil, and iconOverlap is set to nil. Otherwise, it is ignored.

This attribute corresponds to the icon-allow-overlap layout property in the MapLibre Style Spec.

You can set this property to an expression containing any of the following:

Constant Boolean values Predefined functions, including mathematical and string operators Conditional expressions Variable assignments and references to assigned variables Step functions applied to the $zoomLevel variable

This property does not support applying interpolation functions to the $zoomLevel variable or applying interpolation or step functions to feature attributes.

Implementation

set iconAllowsOverlap(NSExpression value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setIconAllowsOverlap_, value.ref.pointer);

}