map functiona nd marker ended.