adjusts router functions to render the map to include the target container so I can change where I insert the map template