[OpenLayers-Dev] Xlink sous IE

fgenin fgenin at bcisa.com
Thu Mar 6 06:07:08 EST 2008



Hy Tom,

I want to use an SVG image element to applicate to it some translation,
rotation. And therefore, this image element could be an extra geometry
object with his properties (like geometry point). It would be associated 
after with every geometry objects.

The external graphic for the geometry point is not appropriate because all
of his attributes are passed by the style and is too coupled to the geometry
point.

I have tested the external graphic and it works in IE, it proofs that my
problem is not here. ;-)

Thanks for your help,
FG


Tim Schaub wrote:
> 
> Andreas Hocevar wrote:
>> fgenin wrote:
>>> Yes , I use the SVG adobe viewer to display SVG in IE. And the SVG image
>>> is 
>>> defined in this documentation 
>>> http://www.w3.org/TR/SVG/struct.html#ImageElement
>>>   
>> 
>> We also use the image element for the SVG renderer. We set the attribute 
>> namespace using the setAttributeNS method:
>> node.setAttributeNS("http://www.w3.org/1999/xlink", "href", 
>> style.externalGraphic);
>> 
> 
> And of course setAttributeNS doesn't exist in IE - but that's beside the 
> point.
> 
>> This should also work for you.
>> 
>> But still, it would be interesting to know in what context you are using 
>> svg images, in a way that makes it impossible to just use an 
>> externalGraphic symbolizer.
>> 
>> Regards,
>> Andreas.
>> 
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>> 
>> !DSPAM:4033,47cfbf6a63031804284693!
>> 
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Xlink-sous-IE-tp15853289p15871008.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.




More information about the Dev mailing list