Description
Used to specify the snapping settings for a layer in layer definitions and map files (*.apm).
Diagram
Overview
|
SNAPPING
Used to specify the snapping settings for a layer in layer definitions and map files (*.apm).
|
edge optional Restriction of xs:string
Specifies whether edge snapping is active for the layer.
|
|
end optional Restriction of xs:string
Specifies whether end snapping is active for the layer.
|
|
tolerance optional xs:double
Snapping tolerance in meters. A value of 0 means that the map view's snapping tolerance is used.
|
|
vertex optional Restriction of xs:string
Specifies whether vertex snapping is active for the layer.
|
|
visible optional Restriction of xs:string
Specifies whether snapping buffers are drawn for the layer.
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
edge | Restriction of xs:string | optional | false | | Specifies whether edge snapping is active for the layer. |
end | Restriction of xs:string | optional | false | | Specifies whether end snapping is active for the layer. |
tolerance | xs:double | optional | 0 | | Snapping tolerance in meters. A value of 0 means that the map view's snapping tolerance is used. |
vertex | Restriction of xs:string | optional | false | | Specifies whether vertex snapping is active for the layer. |
visible | Restriction of xs:string | optional | false | | Specifies whether snapping buffers are drawn for the layer. |
Source
<xs:element name="SNAPPING" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to specify the snapping settings for a layer in layer definitions and map files (*.apm).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute default="false" name="edge">
<xs:annotation>
<xs:documentation>Specifies whether edge snapping is active for the layer.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="false" name="end">
<xs:annotation>
<xs:documentation>Specifies whether end snapping is active for the layer.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="0" name="tolerance" type="xs:double">
<xs:annotation>
<xs:documentation>Snapping tolerance in meters. A value of 0 means that the map view's snapping tolerance is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="vertex">
<xs:annotation>
<xs:documentation>Specifies whether vertex snapping is active for the layer.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="false" name="visible">
<xs:annotation>
<xs:documentation>Specifies whether snapping buffers are drawn for the layer.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also