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

90
Views
Algolia React instantsearch Map Zoom

With React InstantSearch, I can’t seem to reach the map object to manipulate it.

The goal is to accomplish what this fiddle is demo’ing (the zoom in, zoom out functionnality):

https://jsfiddle.net/vh3s88mc/15/

i've tried to access it via the prototype but it doesn't seems to work ;

const map = window.google.maps.Map
map.prototype.setZoom(10) 

i've also tried to use React.createRef() on the GeoSearch to access map but same result ;

const map = mapRef.current.props.google.maps.Map
const map = mapRef.current.props.google.maps.Map
almost 4 years ago · Santiago Trujillo
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!