Do not create a new map instance if one is already available
Only update the main template if map hasn't been rendered yet
Added minor detail to #template documentation