MapX print example code (with attributes)