Return if no map is provided
Added automaticallyEmbed option