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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:00:18+00:00 2026-05-22T23:00:18+00:00

greetings & salutations, this is my first run with the google maps API, i’m

  • 0

greetings & salutations,

this is my first run with the google maps API,
i’m using WordPress and the Genesis Framework,

i’m working through a tutorial on
http://tympanus.net/codrops/2011/04/13/interactive-google-map/

and i’ve gotten a google map to show up on the map page,

http://www.foodtrucksnashville.com/map/

however, you’ll notice the map controls are underneath the map. hmmm.

no idea. need help / nudge in teh right direction.

thx again, stackoverflow community.

here’s the code in the init.js:

var map, geocoder, marker, ey, my, mouseDown = false;

var o = {
    init: function () {
        this.map.init();
    },
    map: {
        size: function () {
            // so it's a loverly sqware.
            var w = jQuery('.content-sidebar #content').width(),
                h = 440;
            return {
                width: w,
                height: h
            }
        },
        data: {
            zoom: 13,
            center: new google.maps.LatLng(36.165389, -86.783237), // Nashville TN Capitol BLDG
            scrollwheel: false,
            mapTypeId: google.maps.MapTypeId.ROADMAP
        },
        init: function () {
            // get the map size
            var size = o.map.size();
            // add some css to the #map div based on the size
            jQuery('#map').css({
                width: size.width,
                height: size.height,
            });

            // make a new google map in the #map div and pass it the map data
            map = new google.maps.Map(document.getElementById('map'), o.map.data), geocoder = new google.maps.Geocoder();
            /*
            // add eventlistener to map to hide posts when dragging?
            google.maps.event.addListener(map, 'dragstart', function () {
                jQuery('.posts').hide();
            });
            */
        }
    } // end map
} // end o object

jQuery(window).load(function () {
    o.init();
});
  • 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-22T23:00:19+00:00Added an answer on May 22, 2026 at 11:00 pm

    finally figured out what as going on,
    found the solution over at google groups for the Maps API v3,

    http://code.google.com/apis/maps/documentation/javascript/forum.html?place=topic%2Fgoogle-maps-js-api-v3%2F8dOLhjNQzmo%2Fdiscussion

    there were some css properties buried in my child theme targeting images with some max-width: 100%.

    once i removed all the references targeting img elements with max-width, life was groovy again.

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

Sidebar

Related Questions

Greetings, this is my very first question and I just do programming as a
Greetings, I've got a query that I'm struggling with, this is the first time
Greetings! I'm working on wrapping my head around LINQ. If I had some XML
Greetings all, I'm trying to localize a .NET/C# project. I'm using string resource files
Greetings! I'm trying to set up caching for a small MyBatis & Spring app
Greetings! I am working on an AS2 website with MovieClips for pages that swap
Greetings, everyone! Examining my own code, I came up to this interesting line: const
Greetings all, I am trying to implement a QT Plugin with CMake. But this
Greetings, In an WPF DataGridTemplateColumn I have a CellTemplate using a ListView and a
Greetings, I'm trying to find a way to 'unbind' a socket from a particular

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.