AnsweredAssumed Answered

How to zoom to a KMLLayer?

Question asked by davidoloughlin on Aug 16, 2016
Latest reply on Aug 17, 2016 by davidoloughlin

I've created a new KMLLayer, added it to my map, and I can see it once I manually pan and zoom to it. I can't seem to figure out how to programmatically zoom to the new layer. I try to change the map extent to the new layer's extent (e.g., kmlLayer.fullExtent) but KMLLayer appears to only implement initialExtent, which is huge.

 

Outcomes