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

210
Views
React leaflet bouncing marker

I have a react leaflet map that is more or less built as a component as below:

    <>
      <MapContainer
        center={[startLat, startLen]}
        more props...
      >
        <TileLayer
          url={`...`}
          attribution='...'
        />

        {data?.length > 0 &&
          data.map((item) => {
            return (
              <Marker
                key={item.name}
                position={[item.lat, item.lang]}
                more props...
              >
              </Marker>
            );
          })}
      </MapContainer>
    </>

I would like some of the markers to be animated. Doesn't really matter how, they just need to stand out. I found a leaflet plugin that looks very useful: https://github.com/hosuaby/Leaflet.SmoothMarkerBouncing

But to be honest I don't know how to apply it to this Marker React component. Is it possible? Or is there another easy way of making one marker on the map move/stand out?

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!