adding features

setMapData function to change map programatically