good point - will change

Sent from my iPhone

On May 16, 2013, at 9:48 PM, Tom Payne <notifications@github.com> wrote:

> In src/ol/parser/wkt.js:
> 
> > +    parenComma: /\)\s*,\s*\(/,
> > +    doubleParenComma: /\)\s*\)\s*,\s*\(\s*\(/,
> > +    trimParens: /^\s*\(?(.*?)\)?\s*$/
> > +  };
> > +};
> > +goog.inherits(ol.parser.WKT, ol.parser.Parser);
> > +
> > +
> > +/**
> > + * @param {string} str WKT point.
> > + * @return {ol.geom.Point} Parsed point.
> > + * @private
> > + */
> > +ol.parser.WKT.prototype.parsePoint_ = function(str) {
> > +  var coords = goog.string.trim(str).split(this.regExes.spaces);
> > +  return new ol.geom.Point(coords.map(parseFloat));
> Should goog.array.map be used here?
> 
> —
> Reply to this email directly or view it on GitHub.