AnsweredAssumed Answered

MapView.extent is null

Question asked by emoryh on Oct 26, 2017
Latest reply on Oct 26, 2017 by rscheitlin

I'm creating a new webmap in version 4.5, and am setting the initial extent by using the center+zoom properties.

Works all nice and good, but then when i later try to get the extent, mapview.extent returns null.

Apparently when you use center+zoom, the extent then never gets set?

This sounds like a bug to me.

 

I need those extent values for some other calculations.  Any idea how to get them or calculate them?

 

Thanks,

Emory H

Outcomes