-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bring over all properties (fixes #230)
- Loading branch information
1 parent
692e6e8
commit 92f412f
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shouldn't this also apply for using an array as input? (line 10? coords.length === 3 return transformed x/y and original z?)
now it only works if you use an object: proj4(from, to,{x:1000,y:43700,z:10})or proj4(from, to).forward({x:1000,y:43700,z:10});
NOT if you use an array: proj4(from, to, [1000,43700,10]) or proj4().forward([1000,43700,10])