The getVertices method now returns all points, endpoints only, or all except endpoints. r=crschmidt (closes #1966)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8945 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -155,13 +155,15 @@ OpenLayers.Geometry = OpenLayers.Class({
|
||||
* Return a list of all points in this geometry.
|
||||
*
|
||||
* Parameters:
|
||||
* nodesOnly - {Boolean} For lines, only return vertices that are
|
||||
* endpoints.
|
||||
* nodes - {Boolean} For lines, only return vertices that are
|
||||
* endpoints. If false, for lines, only vertices that are not
|
||||
* endpoints will be returned. If not provided, all vertices will
|
||||
* be returned.
|
||||
*
|
||||
* Returns:
|
||||
* {Array} A list of all vertices in the geometry.
|
||||
*/
|
||||
getVertices: function(nodesOnly) {
|
||||
getVertices: function(nodes) {
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user