updated staticmap library
updated staticmap to use XML attributes