AnsweredAssumed Answered

Accessing jimu.js/SpatialReference/utils.js

Question asked by timw1984 Champion on Mar 9, 2015
Latest reply on Mar 9, 2015 by timw1984

Hey everybody,

 

I am trying to use the getCSStr function within the jimu.js/SpatialReference/utils.js to translate a wkid to a wkt.

 

Here iare the relevant parts:

 

require(['jimu/SpatialReference/utils'], function(Spatialutils)

 

var mySpatial = new SpatialReference(4326);
var WKTCurrent = Spatialutils.getCSStr(mySpatial.wkid);

 

What am I missing?

 

Tim

Outcomes