Use addLayers when displaying from toolserver.