When I change the hidden input and button widgets to visible True the marker events work perfect. After enclosing the two widgets in a container and setting the container's to visible = False the marker events are working perfect.
Thank you for pointing me in the right direction. Problem solved!!
Thank you for pointing me in the right direction. Problem solved!!