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 7195239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:32:19+00:00 2026-05-28T20:32:19+00:00

I plan to include google map using javascript api to show search results for

  • 0

I plan to include google map using javascript api to show search results for my site.
Below is how i want the layout

On top would be header where i would display my common navigation panel .

Sidebar on left -it should be the search result shown as a list view . Its height should be equal to the browser window and on overflow it should scroll .

Map area – It is the google map on which i would show the location of the search results . This should be such that it fills all the space available leaving the header and sidebar

basically it should look something like this website or the normal google places search

html code

<div class="wrapper_test" >
    <div class="full_map" id="search_map">
         <div id="map_canvas"  style="width:100%; height:100%">
        </div>
    </div>
    <div class="test_left" id="search_result" >
    </div>
</div>

css code

   .wrapper_test{
    overflow:auto;
    height:100%;
    width:100%;
}
.test_left{
    width:530px;
    background-color:#006666;
    height:100%;
    float:left;
    overflow:scroll;
    overflow-style:auto;
    z-index:10;
    position:absolute;
    top:0px;
    overflow-x:hidden;
}
.full_map{

    height:100%;
    background-color:#FFCC00;
    overflow:scroll;
    overflow-style:auto;
    position:relative;
    left:530px;
    overflow-x:hidden;
    /*border:5px solid #fff;*/
}

I am not able to do it properly.the full map takes up the whole screen rather than the visible space on right of sidebar.

Please help . Links for examples are invited .

  • 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-05-28T20:32:20+00:00Added an answer on May 28, 2026 at 8:32 pm

    Change .full_map from having:

    left: 530px;
    

    to

    padding-left: 530px;
    

    So that your .full_map class looks like this:

    .full_map{
    
        height:100%;
        background-color:#FFCC00;
        overflow:scroll;
        overflow-style:auto;
        position:relative;
        padding-left:530px;
        overflow-x:hidden;
        /*border:5px solid #fff;*/
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I plan on having an aspect of my site where the users can submit
I plan to skip the block content which include the start line of MaterializeU4()
This is a concurrent queue I wrote which I plan on using in a
I'm writing a little JavaScript tool for myself that I plan on making available
I have over 300 questions/prompts that I plan to include in the program. The
here is some code that I plan on using in a registration form for
I plan on using Qt to do my TCP/IP and UDP assignment but I
I am trying to modify my query to include record w/ Plan.id == 848
Model: class Plan include Mongoid::Document # Fields field :name, type: String # Relationships references_many
In my game (that is also written in C#) I want to include some

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.