Automatic map generator