I think you are using uibuilder? If so, you probably want to load the SVG into the background rather than the foreground but it shouldn't affect the way it looks.
This is from the uibuilder SVG demo:
<h2>My House, Ground Floor</h2>
<div id="floorplan"
style="position:relative; width:100%; height:50em; background:url(./background.svg);">
<bulb id="a" :color="isona ? 'red' : 'grey'" :glow="isona" :clickable="false" x="100" y="100"
@bulbclicked="myClick" title="A: This one does not respond to clicks">
<desc>Here we use a component slot to insert some more custom svg</desc>
</bulb>
<bulb id="b" :color="isonb ? 'red' : 'grey'" :glow="isonb" :clickable="true" x="270" y="120"
@bulbclicked="myClick" title="B">
<circle cx="50" cy="50" r="50" />
</bulb>
<bulb id="c" :ison="isonc" :clickable="true" x="650" y="120" @bulbclicked="myClick" title="C"></bulb>
<bulb id="d" :ison="isond" :clickable="true" x="250" y="270" @bulbclicked="myClick"
:title="'D: ' + (isond ? 'ON' : 'off')"></bulb>
</div>
I have another question about manipulating SVG images.
How do I change a color of a rectangle in the image itself?
For example my image contains a white rectangle
I think this wiki page will solve your question.
Please start next time a new discussion, because this one is about "light sources" in svg.
Otherwise it becomes totally unreadable for people that are reading this discussion, to learn here about light sources...