isTextOptional property

bool isTextOptional

Determines if the marker can be displayed with icon and without text. Returns true if the marker allows text to be hidden, false otherwise. Defaults to false.

Implementation

bool get isTextOptional;
void isTextOptional=(bool value)

Determines if the marker can be displayed with icon and without text. Sets whether the marker is allowed to appear without text.

Controls whenever MapMarker can be shown as icon only when MapMarker.isOverlapAllowed is false, has no effect otherwise. If false then the MapMarker will not appear when icon or text are blocked by other labels. If true, icon will appear even if the text part is blocked by other labels.

Implementation

set isTextOptional(bool value);