fullExtent does not change when setLayerDefinitions() called

Discussion created by john.c.cartwright on Jun 27, 2011
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.