Interface GmfSnappingConfig

interface GmfSnappingConfig {
    activated?: boolean;
    edge?: boolean;
    tolerance?: number;
    vertex?: boolean;
}

Properties

activated?: boolean

Determines whether the snapping on this layer is activated by default.

edge?: boolean

Determines whethers the edges of features from the node layer can be snapped or not.

tolerance?: number

The tolerance in pixels the snapping should occur for the node layer.

vertex?: boolean

Determines whethers the vertices of features from the node layer can be snapped or not.