Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

103
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda