#6 closed defect (fixed)
Mollweide returns Nan
Reported by: | perrygeo | Owned by: | madair |
---|---|---|---|
Priority: | major | Milestone: | 1.0.0 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description
Mollweide projection (defined in moll.js) transformations return NaN. They require the radius of the earth to be defined (this.R) in the init() function.
this.R = 6370997.0;
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Priority: | critical → major |
---|---|
Status: | new → assigned |
Version: | → trunk |
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
[21] uses this.a which gets set in the initialization rather than this.R
Note:
See TracTickets
for help on using tickets.
Actually, if you're using the WGS84 datum, is should be
Is there any way to inherit this from the specified datum as opposed to hardcoding?