Delay mapDirective initialization untill SVG is loaded.