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

100
Views
What exactly does Google Maps JavaScript API 3 StreetViewPanoramaOptions disableDoubleClickZoom do?

The documentation for Google Maps StreetViewPanoramaOptions lists disableDoubleClickZoom as an option.

I am using API version 3.48. I have researched and tried a bunch of different options on a google map locally and online to try and figure out what this option does but cannot find anything.

What exactly does this option do? Is it still a valid option? Are there any live examples?

The default value is true meaning double click zoom should be disabled by default. This makes sense as double clicking in most cases navigates the street view to a new location. Disabling the navigation, setting the value to false, then double clicking yields no results. Setting it to true makes no difference as well.

I found a really old article that talks about double clicking to zoom. It states:

Sometimes the pancake shows a little magnifying glass in the bottom right to indicate that double clicking will zoom in on the current image rather than transport you to a closer location.

I cannot find any place in street view that shows such a magnifying class. If there is such a place a latitude and longitude would be helpful to test it out.

This old article also mentions something similar showing images that can be double clicked to see images of an object (such as the Eiffel Tower) "zoomed in". The UI shown in this example is very different from what is available now.

These articles are from 2009. I am wondering if this option is a legacy option that no longer works.

It is important to note that this (street view) disableDoubleClickZoom is not the same as the mapOptions disableDoubleClickZoom.

Example with value set to false.

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!