JSAPI newbie here...
I have a dynamic service with a raster catalog layer, a couple annotation layers, and a line layer. I need to display only one map page at a time so I set up a definition query (filter) with setLayerDefinitions. Next I need to zoom to the extent of the filtered raster, but the only options I can find for the extent are for the initial and full extents.
Am I going to need to do some sort of additional query to select the raster to get its geometry and do a "zoom to selected" or is there some property of the layer definition I'm not seeing?
Thanks
Mark