1

I'm creating a google wave gadget that needs to embed SVG. I don't want to do because that means I need to generate separate svg file and store somewhere on the web.

I would like to simply add inside the Google Wave Gadget.

The person who created the Canvas Gadget (Source Code) has done this, but I can't figure out what he did to get this work. When I simply add tags inside the gadget, the browsers ignore the tag and anything inside the svg element.

codingbear
  • 14,773
  • 20
  • 48
  • 64

2 Answers2

0

From what i have seen you cannot embed the image. What can be done is to make a base64 encoded version of the graphic and embed that.

PurplePilot
  • 6,652
  • 7
  • 36
  • 42
0

The Canvas Gadget you linked to uses Raphael to render dynamically render SVG. You should look into using that within yours, too:

http://raphaeljs.com/reference.html

Brian McKenna
  • 45,528
  • 6
  • 61
  • 60