This commit is contained in:
j 2012-05-30 18:28:39 +02:00
commit af6c58bcaa
4 changed files with 6 additions and 20 deletions

View file

@ -73,7 +73,7 @@ Ox.load('Image', function() {
/*
We split the path in two parts.
*/
parts = [Ox.sub(path, 0, i + 1), Ox.sub(path, i + 1)];
parts = [path.slice(0, i + 1), path.slice(i + 1)];
/*
We get the lat/lng of the points where the line leaves
and enters the map...
@ -164,4 +164,4 @@ Ox.load('Image', function() {
});
});
});