Update toggleMarkers for better control and more efficient, removed objcet style signature