change map options in dynamic map