Docs: Set many links as {<...>}
This commit is contained in:
@@ -115,7 +115,7 @@ OpenLayers.Control.Snapping = OpenLayers.Class(OpenLayers.Control, {
|
||||
* the control.
|
||||
*
|
||||
* Valid options:
|
||||
* layer - {OpenLayers.Layer.Vector} The editable layer. Features from this
|
||||
* layer - {<OpenLayers.Layer.Vector>} The editable layer. Features from this
|
||||
* layer that are digitized or modified may have vertices snapped to
|
||||
* features from any of the target layers.
|
||||
* targets - {Array(Object | OpenLayers.Layer.Vector)} A list of objects for
|
||||
@@ -141,7 +141,7 @@ OpenLayers.Control.Snapping = OpenLayers.Class(OpenLayers.Control, {
|
||||
* continues after an eligible feature is found in a target layer.
|
||||
*
|
||||
* Valid target properties:
|
||||
* layer - {OpenLayers.Layer.Vector} A target layer. Features from this
|
||||
* layer - {<OpenLayers.Layer.Vector>} A target layer. Features from this
|
||||
* layer will be eligible to act as snapping target for the editable
|
||||
* layer.
|
||||
* tolerance - {Float} The distance (in pixels) at which snapping may occur.
|
||||
@@ -159,7 +159,7 @@ OpenLayers.Control.Snapping = OpenLayers.Class(OpenLayers.Control, {
|
||||
* edgeTolerance - {Float} Optional distance at which snapping may occur
|
||||
* for edges specifically. If none is provided, <tolerance> will be
|
||||
* used.
|
||||
* filter - {OpenLayers.Filter} Optional filter to evaluate to determine if
|
||||
* filter - {<OpenLayers.Filter>} Optional filter to evaluate to determine if
|
||||
* feature is eligible for snapping. If filter evaluates to true for a
|
||||
* target feature a vertex may be snapped to the feature.
|
||||
* minResolution - {Number} If a minResolution is provided, snapping to this
|
||||
@@ -198,7 +198,7 @@ OpenLayers.Control.Snapping = OpenLayers.Class(OpenLayers.Control, {
|
||||
* layer is set.
|
||||
*
|
||||
* Parameters:
|
||||
* layer - {OpenLayers.Layer.Vector} The new editable layer.
|
||||
* layer - {<OpenLayers.Layer.Vector>} The new editable layer.
|
||||
*/
|
||||
setLayer: function(layer) {
|
||||
if(this.active) {
|
||||
|
||||
Reference in New Issue
Block a user