add markers and fix map listener