added docs, updated demo for map element