I am trying to zoom to the extent of a layer that has definitionExpression on it. I cannot get it to zoom to anything but the world view. I want to setViewpontGeometry(queryLayer.fullExtent), but this doesn't seem to work. Do I have to build a view point manually?
queryLayer.definitionExpression = app.definitionQuery
//This doesn't work?
//Do I have to build a viewpoint?