fullExtent does not change when setLayerDefinitions() called

701
0
06-27-2011 11:51 AM
JohnCartwright
Occasional Contributor
Hello All,

In using an ArcGISDynamicMapServiceLayer, I expected (hoped?) that the fullExtent property would change to reflect a modified layerDefinitions array.  However this does not seem to be the case.  Am I missing something here?  Can someone suggest a good way to get the extent of a layer considering any layerDefinitions that have been applied?

The way I'm doing it now involves a query on each of the sublayers to return the geometries and calculating the bbox from that - seems rather clumsy.

Thanks!

--john
0 Kudos
0 Replies