Dela via


MapElementCollisionBehavior Enum

Definition

Specifies the behavior of a MapIcon when it collides with other map features due to zoom level.

public enum class MapElementCollisionBehavior
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MapElementCollisionBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MapElementCollisionBehavior
Public Enum MapElementCollisionBehavior
Inheritance
MapElementCollisionBehavior
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Hide 0

Hide the MapIcon when it collides with other map features.

RemainVisible 1

Show the MapIcon at all zoom levels.

Remarks

RemainVisible applies to the MapIcon image only. Text from the map icon may still be hidden at times, even when the map icon's CollisionBehaviorDesired property is set to RemainVisible.

Applies to