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

299
Views
React google maps polygon vertex problem (just want to highlight the area without closing the paths automatically)

I am using react google maps library to draw the polygon in my project. Polygon is showing in map, closing the paths automatically. I just want to highlight the area in the map without closing the paths. Is it possible to do it ? This is the image of polygon currently showing

I just want to highlight area.

<Polygon
    path={i[item]}
    options={{
    strokeColor: "purple",
    strokeOpacity: 0,
    // strokeWeight: 2,
    fillColor: "purple",
    fillOpacity: 0.2,
        }}
></Polygon>

This is the way I am doing to draw the polygons. Paths are structured into array of lat and lng

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!