Skip to main content

ShapeSimplifierBase.Simplify(IEnumerable<MapItem>, Double) Method

Reduces a number of vertices that form the vector layer’s items.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public void Simplify(
    IEnumerable<MapItem> items,
    double tolerance
)

Parameters

Name Type Description
items IEnumerable<MapItem>

The items to be simplified.

tolerance Double

A percent of vertices that vector shapes contain after simplification. This value should be in the (0;100) range.

See Also