+initialized for MapIm and gradient drawing for DrawMap