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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:39:19+00:00 2026-05-27T23:39:19+00:00

Link: http://www.bastosviegas.com/mapa (please roll over interactivo to see the google map) As you can

  • 0

Link: http://www.bastosviegas.com/mapa (please roll over “interactivo” to see the google map)

As you can see the map is not centered in the correct coordinates and it bugs until you maximize/minimize the page.

Anyone ran into this bug yet? If so how did you got it right?

  • 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-27T23:39:20+00:00Added an answer on May 27, 2026 at 11:39 pm

    This is not a bug, anytime you manipulate the div that contains the map you should trigger a map resize with this trigger: google.maps.event.trigger(map, 'resize');

    I would add this trigger to the mouseover event.

    Here is an example:

    function initialize() {
        var map;
        var centerPosition = new google.maps.LatLng(38.713107, -90.42984);
        var options = {
            zoom: 6,
            center: centerPosition,
            mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        map = new google.maps.Map($('#map')[0], options);
    
        //when map is shown, trigger resize
        $('#hoverbtn').hover(function(){
           $('#map').show(); 
           google.maps.event.trigger(map, 'resize');
        });
    
    }
    

    Fiddle example of the above code

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

Sidebar

Related Questions

From where can I download MAPI33.dll. I got the link http://www.mapi33.adexsolutions.com/ from a site
Tried this: $('.link').click(function(e) { $.getScript('http://www.google.com/uds/api?file=uds.js&amp;v=1.0', function() { $('body').append('<p>GOOGLE API (UDS) is loaded</p>'); }); return
I have added this to a class comment: @link http://www.google.com Google @endlink However, when
This is the output to my program from this link (http://www.rottentomatoes.com/movie/box_office.php). As you can
In this link: http://www.sencha.com/blog/spotlight-ext-js-customers/ Please scroll to the section :Why We Chose Ext JS
I have this link: http://www.google.com/maps?cid=0,0,612446611849848549&f=q&source=embed&hl=en&geocode=&q=Универзална+Сала+&sll=,&&ie=UTF8&hq=&hnear=Универзална+Сала+&ll=,&z=15&iwloc=near What I want is to retrieve the Lat Lng
I need open link kind of http://www.web.com/?text=link =) http://google.ru is goooooood message=@http://www.web.com/?text=link+=)+http://google.ru+is+goooooood; twitter=[NSURL URLWithString:message];
Please go to the link http://www.networksolutions.com/whois-search/reedandthomas.com I want to extract only the below part
http://www.mapleboutique.com/_blog/maple_blog can someone explain what's going on here? according to this link: http://austinmatzko.com/2007/07/25/internet-explorer-7-float-bug/ –I
My table will not align correctly on this link: http://www.teampaulmitchellkarate.com/meet-the-team/ Is there something im

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.