Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7884127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:42:55+00:00 2026-06-03T04:42:55+00:00

When I use Google Maps as an anonymous user, when I find a company

  • 0

When I use Google Maps as an anonymous user, when I find a company that I’m building a website for, Google shows me some kind of a default street view photo for that place. It’s quite nice and I would like to have this photo appear also in my custom InfoWindow that I’m preparing using API3. Is there a method for that or should I sniff and use its source path?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:42:56+00:00Added an answer on June 3, 2026 at 4:42 am

    You can embed the street view panorama like this, or embed a screen capture image in the infowindow contents (<img src="...">) Also you may set the marker visible: false

    http://jsfiddle.net/sST8z/

    <!DOCTYPE html>
    <html>
      <head>
        <style type="text/css">
          html, body { margin: 0; padding: 0; height: 100% }
          #map_canvas { margin: 0; padding: 0; width: 500px; height: 300px }
          #street { margin: 0; padding: 0; width: 150px; height: 150px }
    
        </style>
        <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
        <script type="text/javascript">
          var map;
          var mapOptions = { center: new google.maps.LatLng(0.0, 0.0), zoom: 2,
            mapTypeId: google.maps.MapTypeId.ROADMAP };
    
          function initialize() {
            map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
            street = new google.maps.StreetViewPanorama(document.getElementById("street"), { 
    
            position: new google.maps.LatLng(40.72982797782924, -73.98622512817383),
            zoomControl: false,
            enableCloseButton: false,
            addressControl: false,
            panControl: false,
            linksControl: false
          });
    
    
          var infow = new google.maps.InfoWindow({ content: document.getElementById("street") });
          var myLatLng = new google.maps.LatLng(40.72982797782924, -73.98622512817383);
          var marker = new google.maps.Marker({ position: myLatLng, map: map, visible: true });
    
          infow.open(map, marker);
          map.setCenter(myLatLng);
    
          }
          google.maps.event.addDomListener(window, 'load', initialize);
        </script>
      </head>
      <body>
        <div id="street"></div>
        <div id="map_canvas"></div>
    
      </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My website doesn't use Flash or any plugins; just javascript (jQuery, Google Maps). It
I'm curious whether it's possible to use Google Maps Street View as a platform
I am building an application using google maps. And i need to use google
I have a program that I want to use google maps for. The problem
I want to use to UIWebView to display google maps mobile website for my
how to use google-maps on API2 to get navigation to specified place i've add
I want to use the google maps hand cursor in Python but I don't
I'm trying to use the Google Maps geocoder with Python and JSON, but keep
I was wondering if its possible to use the Google maps IFRAME code to
I had the following HTML page rendering to use the Google Maps API. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.