I have linear features that span the Pacific. When those features are queried in the application the map zooms to the feature but centers on 0° resulting in a 'split' view of the linear graphic.
This is how I display my results:
var queryExtent = graphicsUtils.graphicsExtent(results.features);
map.setExtent(queryExtent, true);
Is there a better way to do this other than using graphicsExtent?
Thanks,
PW