Marked-Up SVG World Map
An SVG world map marked-up with ISO 3166 country codes.
path) and group (
g) elements are annotated with
containing their country codes.
// 'map' should contain a reference to the embedded SVG element map.getSVGDocument().querySelector("[cc=ca]").style.fill = "red";
A full example is included in the
Adapted from Al MacDonald's Low Resolution World Map.
This work is made available under a Creative Commons Attribution-ShareAlike 3.0 Unported
license. For the full license, see the