Walker
Walker

Reputation: 134503

Rotating VML groups with RaphaelJS (doesn't appear to be working)

I'm trying to build a crossbrowser vector application, and to do so am using VML instead of SVG for IE7 and IE8.

I'm trying to figure out how to rotate the VML group element, and has it working in pure VML but as soon as I incorporate RaphaelJS it breaks.

Is there a way to rotate VML groups in RaphaelJS?

Here is a zip file with both the working VML only solution, and the broken Raphael solution: http://voostmedia.com/vml_testing.zip

Upvotes: 0

Views: 713

Answers (2)

Elbert Alias
Elbert Alias

Reputation: 1790

Use Raphael.Freetransform. It handles rotation of sets and it works in older versions of IE. You can try the demo here:

http://alias.io/raphael/free_transform/

Upvotes: 1

Pascalius
Pascalius

Reputation: 14659

Rotation is broken in Raphael2.0/2.0.1 I switched back to 1.5.2 until it is fixed

Upvotes: 1

Related Questions