coding standards: line too long, fix ND comment typo
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5471 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -358,7 +358,8 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
* geometry - {<OpenLayers.Geometry>}
|
||||
*/
|
||||
drawLineString: function(node, geometry) {
|
||||
node.setAttributeNS(null, "points", this.getComponentsString(geometry.components));
|
||||
node.setAttributeNS(null, "points",
|
||||
this.getComponentsString(geometry.components));
|
||||
},
|
||||
|
||||
/**v
|
||||
@@ -370,7 +371,8 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
* geometry - {<OpenLayers.Geometry>}
|
||||
*/
|
||||
drawLinearRing: function(node, geometry) {
|
||||
node.setAttributeNS(null, "points", this.getComponentsString(geometry.components));
|
||||
node.setAttributeNS(null, "points",
|
||||
this.getComponentsString(geometry.components));
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -471,7 +473,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
* Method: getComponentString
|
||||
*
|
||||
* Parameters:
|
||||
* components - {Array(<OpenLayers.Geometry.Point)} Array of points
|
||||
* components - {Array(<OpenLayers.Geometry.Point>)} Array of points
|
||||
*/
|
||||
getComponentsString: function(components) {
|
||||
var strings = [];
|
||||
|
||||
Reference in New Issue
Block a user