Skip to main content
Looking to write out to SVG and require the syntax to allow the select attributes to be exposed when the mouse hovers over a particular polygon.

 

Also is it possible to change the colour of a polygon when the mouse hovers over that polygon as well.

 

 

Thanks

 

Brett
U need to write the required xml to do that and assign it to required event.

 

 

The reader/writer bible may guide you:

 

 

http://docs.safe.com/fme/html/FME_ReadersWriters/Default.htm#svg/Feature_Representation.htm%3FTocPath%3DFME%20Readers%20and%20Writers%20(formats%20supported%20by%20FME%202014)%7CScalable%20Vector%20Graphics%20(SVG)%20Writer%7CFeature%20Representation%7C_____0

 

 

 

and there are lots of site dedicated to creating eventscripts, such as:

 

https://svgwg.org/svg2-draft/script.html

Reply