XML generator for maps