Added map-image object to the API and back to the map editor