Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

145
Views
How to apply gesture handling greedy for Embedded Maps in IFrame (React)

I want to allow single finger touch for mobile devices instead of using double fingers for gestures and for web need scrolling feature on an embedded map.

I found out that I can use gesture handling "greedy" or "cooperative" to achieve this but I am not able to understand where to apply it in my code.

Code:

const MY_API = configData.googleMapKey;

  let _url = `https://www.google.com/maps/embed/v1/directions?key=${MY_API}&origin=${queryPickup}&destination=${queryDrop}`;
 
  return(

        <div>
          <iframe  frameBorder="0" width="100%" height="350" style={{ border: 0 }} src={_url}>
          </iframe>
        </div>
    
  );

};

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!