AnsweredAssumed Answered

JavaScript API - how to get the map units?

Question asked by tsellste Champion on Mar 3, 2015
Latest reply on Mar 8, 2015 by rscheitlin



I have been looking for a method or property that will give me the units (IE: meters, feet, degrees) of the map being displayed.  I have looked at the map.spatialReference.toJson(), but it only returns the WKID and not the units.  Any suggestions of how to get this property?  It would certainly be ideal to have a property map.mapUnits or a method map.getMapUnits().  Thanks!