isOverlapAllowed property
Determines whether or not the marker can overlap other markers.
Returns true if the marker allows overlap with other markers, false otherwise.
Defaults to true.
Implementation
bool get isOverlapAllowed;
Determines whether or not the marker can overlap other markers. Sets whether the marker is allowed to overlap with other markers.
If false, it will disappear the moment it overlaps another marker that has
a higher visibility priority. A marker that allows overlap will always be drawn.
Among markers that don't allow overlap, the one with the highest draw order has
priority. Marker that is hidden due to overlapping with other markers is not pickable.
If MapMarker.isTextOptional is also true, the icon is always rendered on top of
other icons on collision, while the text label still participates in normal collision
detection and can be hidden. See MapMarker.isTextOptional for details.
Implementation
set isOverlapAllowed(bool value);