fixed marker and polyline show and hide