The challenge was to make a map of offices on Raphael. The only problem is that I can’t find solutions for adding the id
to the path
in the map output and, accordingly, I cannot stylize each element. I did the map for this manual
http://ruseller.com/lessons.php?rub_id=32&id=952
Added this code to the card output cycle:
obj.attr('id', paths[country].name);
The result is not brought.