addMarker method call from thread