We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc88406 commit dae684dCopy full SHA for dae684d
1 file changed
src/geometry/Vertices.js
@@ -57,7 +57,7 @@ var Vertices = {};
57
* @return {vertices} vertices
58
*/
59
Vertices.fromPath = function(path, body) {
60
- var pathPattern = /L?\s*([\-\d\.]+)[\s,]*([\-\d\.]+)*/ig,
+ var pathPattern = /L?\s*([\-\d\.e]+)[\s,]*([\-\d\.e]+)*/ig,
61
points = [];
62
63
path.replace(pathPattern, function(match, x, y) {
0 commit comments