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

  • Home
  • SEARCH
  • 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 8062991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:52:07+00:00 2026-06-05T10:52:07+00:00

I am using Google Maps API V3, I would like to know how I

  • 0

I am using Google Maps API V3, I would like to know how I can change the position of the elements (shown in picture http://www.pikky.net/uploads/d6964cfad0bb97cc3ada7852df260a715234d69a.png) when the user is INSIDE Street View.
Thanks,
Mirko

  • 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-05T10:52:09+00:00Added an answer on June 5, 2026 at 10:52 am

    You achieve this by defining your StreetViewPanoramaOptions to a StreetViewPanorama object that you will initialize to your map variable when declaring the map options. It’s in the StreetViewPanoramaOptions that you can determine the positions of the controls for when you’re in the street view. (Refer to this document for more info https://developers.google.com/maps/documentation/javascript/reference#StreetViewPanoramaOptions ). Here is a snippet on how to approach this. (Note: this should all be done in your initialize() function prior to initializing your map variable).

    First we will declare a variable for StreetViewPanoramaOptions and change options as we desire:

        var panoramaOptions = {
            addressControlOptions : { position : google.maps.ControlPosition.BOTTOM_CENTER },
            zoomControlOptions : { position : google.maps.ControlPosition.TOP_RIGHT},
            enableCloseButton : true,
            visible: false //set to false so streetview is not triggered on the initial map load
        };
    

    The next step is to declare a StreetViewPanorama object that is set to the container/div of the map with the StreetViewPanoramaOptions from above:

        var panorama = new  google.maps.StreetViewPanorama(document.getElementById("map_canvas"), panoramaOptions);
    

    Lastly, we declare the map options and set the map variable with the map options like we would normally do. Except, in the map options we set the streetView option to the panorama variable:

        var mapOptions = {
            center: new google.maps.LatLng(42.345573,-71.098326),
            zoom: 14,
            mapTypeId: google.maps.MapTypeId.ROADMAP,
            streetView : panorama //this is where we set the panorama object to the map
        };
        var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
    

    Refer to this source for how to position controls in the map div ( https://developers.google.com/maps/documentation/javascript/controls#ControlPositioning )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Google Maps API and would like it to render a very
I'm using the Google Maps API (v2) and would like to center the map
I have a website using the Google-maps Javascript API V3. I would like to
I am using Google maps API version 3. I would like my double click
When using Google Maps API with Google Fusion Tables (with API), I would like
It seems that licensing terms would prevent us from using Google Maps API in
Using the Google Maps API, how can I get the latitude and longitude of
Using the Google Maps API v3: How do I change the mouse cursor when
I am using a CodeIgniter google map library from biostall.com http://biostall.com/codeigniter-google-maps-v3-api-library Every things works
I'm using the latest version of the Google Maps API. What I'd like to

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.