Hey Gabriel,

I figured out how to add the cities as svg entities. I have a very crude
sample working so far w/ one city here:
http://github.com/bryanwb/Conozco-Uruguay/tree/svg-experiment

here is the svg map i did, starting w/ just one capital
http://github.com/bryanwb/Conozco-Uruguay/blob/svg-experiment/assets/generic/images/capitals.svg

the documentation on using svg w/ js is limited but it was all
worthwhile when i discovered I could scale the entire map w/ only one
line of code:

svgDoc.documentElement.currentScale = 0.7;

That scales everything in the svg map

Hopefully I will have more to show u in the next couple of days

-- 
Bryan W. Berry
Senior Engineer
OLE Nepal, http://www.olenepal.org

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to