Addressing @bartvde's review comments

This commit is contained in:
ahocevar
2013-03-20 10:23:00 +01:00
parent bed011514f
commit 6fca6aef60
2 changed files with 13 additions and 7 deletions

View File

@@ -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)
}) })
}); });

View File

@@ -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