Terrain heightmaps can not be in layers, must be 1 layer only so make sure you flatten/merge the visable layers.
If you still have problems save the heightmap, save it as a jpeg image, load the jpeg image, then save the jpeg as .png again.
Try to load the new png in the map maker, and also remember to add .png after the name in the map maker. "mapnameterrain.png".