merged marker code