I have a dynamic map service with three layers that I am applying a Layer Definition to in code behind based on user input. After the data is filtered (which is working) I want to pan/zoom to the extent of the visible features.
using Map.ZoomTo(dmsLayer.FullExtent); takes to the extent of the dynamic map service, not the visible features, nor is there a updated handler for a dynamic map service to try and call after the layer def is completed.
What would be the best way to accomplish this?
Thanks,
Keith