[Sugar-devel] [Karma] Basic example of Conozco working

Gary C Martin gary at garycmartin.com
Wed Oct 21 22:24:05 EDT 2009


Hi Bryan,

On 22 Oct 2009, at 00:42, Bryan Berry wrote:

> You can check it out here
> http://karma-testing.sugarlabs.org/Conozco-Uruguay/index.html
>
> It only works in Firefox 3.5. It kind of works in chromium but there  
> is
> a weird SVG display bug in chromium
>
> This is just a small part of Conozco implemented using Karma and SVG.
>
> A few notes:
>
> * Writing the code didn't take much time only several hours
> * Editing the svg wasn't particularly difficult but very time- 
> consuming
>
> Gabriel, I know that you want to some kind of pan and zoom to the  
> maps.
> I have no idea how to do that but it could be fun.

You probably have it already, but if needed, scaling and translation  
of existing svg content can be done by nesting the map drawing  
commands with the transform attribute:

	http://www.w3.org/TR/SVG/coords.html#TransformAttribute

Regards,
--Gary

> My next step w/ this
> version will be to add the alien animation but if u prefer I could  
> take
> a stab at implementing them.
>
>
> -- 
> Bryan W. Berry
> Senior Engineer
> OLE Nepal, http://www.olenepal.org
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



More information about the Sugar-devel mailing list