AnsweredAssumed Answered

How to determine extent of a dynamic shapefile layer

Question asked by msudac on Oct 15, 2014
Latest reply on Oct 15, 2014 by msudac

I am adding a shapefile to my map as a dynamic map service layer just as is done in the DynamicLayerAddData sample.

The FullExtent property of my ArcGISDynamicMapServiceLayer is returning the full extent of the layers within the "water-distribution-network.mpk" instead of the extent of my shapefile layer (took me a bit figure out why MapView.SetView was taking me to a seemingly random place in Alabama instead of to my newly added shapefile ). Any suggestions on other ways of getting the actual extent of this type of layer?