Opened 13 years ago
Closed 13 years ago
#392 closed defect (fixed)
Warning 'towgs84' is null or not an object popup if the CS of the map is CA-I (NAD27 California State Planes, Zone I(401), US Foot)
|Reported by:||liuar||Owned by:||madair|
|External ID:||1316655||Operating System:||All|
- Create a map using NAD27 as coordinate system
- View the the map
- A warning popup - Warning 'towgs84' is null or not an object
Change History (6)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Could you review my solution and submit it if there's no problem? Since I can only can the compressed version of proj4js
comment:3 by , 13 years ago
|Milestone:||Future → 2.0|
|Status:||new → assigned|
this was fixed in a later version of proj4js. I will update to the most recent version.
comment:4 by , 13 years ago
fixed in trunk and 2.0 branch, should this be applied to the adsk/2.2gp branch?
comment:5 by , 13 years ago
The 2.2gp branch should not be updated to the latest version of proj4js. I'll modify the existing version of proj4js-compressed.js with this specific fix.
comment:6 by , 13 years ago
|Status:||assigned → closed|
Applied this fix to proj4js-compressed.js in adsk/2.2gp branch with changeset:
Note: See TracTickets for help on using tickets.
if the datumCode is NAD27(CA-I), the datumDef will not contain a property named towgs84. So, to fix this problem or the workaround of this defect is add "&& datumDef.towgs84" to the if clause to make sure towgs84 is included in datumDef.