A month or so ago I wrote a quick app to draw World Maps in the HTML <canvas> tag. Today I fixed a couple of issues with it which were kindly pointed out by two individuals.
Firstly, Andreas Lind Petersen kindly wrote to me to say I had a bug where Switzerland and China were concerned, countries with the ISO codes "ch" and "cn" respectively. In my Illustrator file, the Chinese province of Hainan had managed to find itself grouped in with Switzerland which suddenly made Heidi's landlocked mountainous tax-haven idyll around 6,000 miles wide. I've fixed this problem now, hopefully without international incident.
Secondly, "Deadmeat" noticed that I'd missed out Tasmania altogether. Actually, Deadmeat (beautiful name, well presented), I hadn't forgotten it, it was there in the code if you looked. Sadly, Mr. Meat was right though as a small Illustrator faux pas on my part meant that the path wasn't closed properly, which confused the JavaScript and the island was left out altogether. My mistake, fixed now: apologies, Hobart!
Blog entries by category:
Blog entries by month:
Follow me on Twitter: