Map.GetMap() does not load background layer

Sep 16 at 6:31 PM
Hi,
I want to get image from map,I know that Map.getMap() returns image but it does not show background layers,How should I get image with backgroundlayer?
thanks