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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:39:46+00:00 2026-05-13T06:39:46+00:00

I have a strange problem with Google Maps showing differently in IE and the

  • 0

I have a strange problem with Google Maps showing differently in IE and the rest of the browser world. I’m testing in IE8 and in IE8 Compatibility view, both show the same, but Safari, FF, Chrome all act fine and as expected.

The page i’m working on is this: http://afid.staging.dante-studios.com/ at the front are two place holders one for Asia and one for Africa. Both seem to centre incorrectly in IE.

Also the markers and info boxes are loaded up from an XML file, it seems that IE isn’t loading all of them up either….

I would appreciate if anyone can shed any light on this as i’ve spent quite a while so far attempting to debug it but i can’t actually find anything wrong…

Thanks in advance

UPDATE
The map center issue has been kindly resolved, but now the issue with not all the markers showing still remains, if one is to look at the asia section (india) and compare between IE and any other browser, not all the markers are showing, any clues will be appreciated.

  • 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-13T06:39:46+00:00Added an answer on May 13, 2026 at 6:39 am

    The blame for the map.setCenter() problem that you are getting in IE8 is on the $("#map-holder").fadeOut() method.

    Try it without the fadeOut() like this, and the centering will work fine:

    $(".map-overlay-right").click(function () {
        var map = new GMap2(document.getElementById('map-holder'));
    //  $("#map-holder").fadeOut('slow', function(){                                    
            var gmarkers = [];  
            map.addControl(new GSmallMapControl());
            map.addControl(new GMapTypeControl());
            var Asia = new GLatLng(23.684774, 90.087891);
            map.setCenter(Asia, 4); 
    
            $.get("http://afid.staging.dante-studios.com/xml-feed-google-maps",{},function(xml) {
                $('marker',xml).each(function(i) {
                    html = $(this).text();
                    lat = $(this).attr("lat");
                    lng = $(this).attr("lng");
                    label = $(this).attr("label");
                    var point = new GLatLng(lat,lng);
                    var marker = createMarker(point,label,html);
                    map.addOverlay(marker);
                });
            });
    
    //  });
        $("#map-holder").fadeIn('slow');    
    });
    

    Moving the map.setCenter() outside the fadeOut() method also solves the IE8 centering problem:

    $(".map-overlay-right").click(function () {
        var map = new GMap2(document.getElementById('map-holder'));
        $("#map-holder").fadeOut('slow', function(){                                    
            var gmarkers = [];  
            map.addControl(new GSmallMapControl());
            map.addControl(new GMapTypeControl());
    
            $.get("http://afid.staging.dante-studios.com/xml-feed-google-maps",{},function(xml) {
                $('marker',xml).each(function(i) {
                    html = $(this).text();
                    lat = $(this).attr("lat");
                    lng = $(this).attr("lng");
                    label = $(this).attr("label");
                    var point = new GLatLng(lat,lng);
                    var marker = createMarker(point,label,html);
                    map.addOverlay(marker);
                });
            });
    
        });
        $("#map-holder").fadeIn('slow');    
    
        var Asia = new GLatLng(23.684774, 90.087891);
        map.setCenter(Asia, 4); 
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a strange problem with SwfObject and Google Chrome browser. In my webpage
I have ran into a very strange issue with Google Maps in Chrome 5.0.375.99:
I have just encountered very strange problem - my GWT app hosted on Google
i have a strange problem with IE8 installed in xp. i was trying to
I have a strange problem with css file in google app engine. If i
I have spent hours on a strange problem with the interpolate function of google
I'm currently developing an responsive website. I have a very strange problem in Google
I found strange problem. I used this basic example of google maps. This maps
I have a strange problem with .htaccess and google. I have multiple-different root domain
HI Folks, I have a strange problem for Voice recognition on Google Nexus one

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.