Added promises

Added promises in add markers.