Addressing @bartvde's review comments
This commit is contained in:
@@ -11,7 +11,7 @@ function init() {
|
|||||||
}, OpenLayers.Feature.Vector.style['default']),
|
}, OpenLayers.Feature.Vector.style['default']),
|
||||||
select: OpenLayers.Util.applyDefaults({
|
select: OpenLayers.Util.applyDefaults({
|
||||||
pointRadius: 16
|
pointRadius: 16
|
||||||
}, OpenLayers.Feature.Vector.style.select),
|
}, OpenLayers.Feature.Vector.style.select)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* Default is true.
|
* Default is true.
|
||||||
*/
|
*/
|
||||||
toggle: true,
|
toggle: true,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIProperty: standalone
|
* APIProperty: standalone
|
||||||
* {Boolean} Set to true to create a control without SelectFeature
|
* {Boolean} Set to true to create a control without SelectFeature
|
||||||
@@ -66,20 +66,26 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* {<OpenLayers.Layer.Vector>}
|
* {<OpenLayers.Layer.Vector>}
|
||||||
*/
|
*/
|
||||||
layer: null,
|
layer: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: feature
|
* Property: feature
|
||||||
* {<OpenLayers.Feature.Vector>} Feature currently available for modification.
|
* {<OpenLayers.Feature.Vector>} Feature currently available for modification.
|
||||||
*/
|
*/
|
||||||
feature: null,
|
feature: null,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Property: vertex
|
||||||
|
* {<OpenLayers.Feature.Vector>} Vertex currently being modified.
|
||||||
|
*/
|
||||||
|
vertex: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: vertices
|
* Property: vertices
|
||||||
* {Array(<OpenLayers.Feature.Vector>)} Verticies currently available
|
* {Array(<OpenLayers.Feature.Vector>)} Verticies currently available
|
||||||
* for dragging.
|
* for dragging.
|
||||||
*/
|
*/
|
||||||
vertices: null,
|
vertices: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: virtualVertices
|
* Property: virtualVertices
|
||||||
* {Array(<OpenLayers.Feature.Vector>)} Virtual vertices in the middle
|
* {Array(<OpenLayers.Feature.Vector>)} Virtual vertices in the middle
|
||||||
@@ -92,7 +98,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* {Object}
|
* {Object}
|
||||||
*/
|
*/
|
||||||
handlers: null,
|
handlers: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIProperty: deleteCodes
|
* APIProperty: deleteCodes
|
||||||
* {Array(Integer)} Keycodes for deleting verticies. Set to null to disable
|
* {Array(Integer)} Keycodes for deleting verticies. Set to null to disable
|
||||||
@@ -107,7 +113,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* {Object} A symbolizer to be used for virtual vertices.
|
* {Object} A symbolizer to be used for virtual vertices.
|
||||||
*/
|
*/
|
||||||
virtualStyle: null,
|
virtualStyle: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIProperty: vertexRenderIntent
|
* APIProperty: vertexRenderIntent
|
||||||
* {String} The renderIntent to use for vertices. If no <virtualStyle> is
|
* {String} The renderIntent to use for vertices. If no <virtualStyle> is
|
||||||
|
|||||||
Reference in New Issue
Block a user