add show and hide marker method