merging all options of a marker