AnsweredAssumed Answered

Bug in arcgisUtils?

Question asked by apatriz on Aug 29, 2018

We are using arcgisUtils.createMap and it is failing with an uncaught error in the _sameSpatialReferenceAsBasemap private function. It is assuming the 'fullExtent' property exists on the resourceInfo object, but one of our layers only returns an 'extent' property. 

Is it possible to patch this with an extra check for extent property (i.e. var extent = e.resourceInfo.fullExtent || e.resouceInfo.extent || e.resourceInfo.initialExtent). Since this is just comparing spatial references, i don't think it matters which extent property it uses, as long as it has one.


Thanks for any help on this.