slice up
This commit is contained in:
parent
19dba40ec8
commit
af6c58bcaa
4 changed files with 6 additions and 20 deletions
|
|
@ -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() {
|
|||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue