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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:13:43+00:00 2026-06-04T23:13:43+00:00

I am having a problem loading a google map v3 in Internet explorer 9.

  • 0

I am having a problem loading a google map v3 in Internet explorer 9. Chrome and Firefox load it perfectly, but IE9 doesn’t show it at all. I have this function:

function load() {
  var map = new google.maps.Map(document.getElementById("mapa"), {
    center: new google.maps.LatLng(44.109742, 20.462222),
    zoom: 7,
    mapTypeId: 'roadmap'
  });

which I am calling here:

<body onload="load()">

At the beginning of my page I have an “if” clause which recognizes browsers:

<?php if ( preg_match( '/MSIE/i', $_SERVER['HTTP_USER_AGENT'] ) ) { ?>
    <link href="CSS/stylemapaIE.css" rel="stylesheet" type="text/css" />
<?php } elseif ( preg_match( '/Firefox/i', $_SERVER['HTTP_USER_AGENT'] ) ) { ?>
    <link href="CSS/stylemapaMF.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
    <link href="CSS/stylemapa.css" rel="stylesheet" type="text/css" />
<?php } ?>

and uses three different css stylesheets. You can see the page at http://jedanzasve.rs/Test/mapaponuda.php Any thoughts?

  • 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-04T23:13:44+00:00Added an answer on June 4, 2026 at 11:13 pm

    The map loads for me in IE9 (Browser Mode: IE9), as well as in Chrome. However you do have some undefined variables cropping up in the console. This suggests to me that you have not properly referenced all of your resources, or you have not referenced them in the proper order. Of course another possibility is that you’re simply working off cached files.

    Clear your cache, double-check your resources, and their dependencies.

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

Sidebar

Related Questions

I am having an issue loading Google Maps API V3 in internet explorer. Here's
Im not having problem with loading the page using jQuery but when I load
I'm having a problem loading a PHP file using .get (even used .load) with
I'm having trouble with Internet Explorer when trying to use Google Maps. It works
I am having a problem loading the Google AJAX APIs in response to user
Hey guys google web fonts not loading on Firefox and ie9. Yesterday they was
I'm having a problem with the loaded() function of the Kohana ORM. I'm loading
I am having problem getting my tooltip to work when using the jQuery load()
I'm having a problem loading my xml file using simplexml_load_file(), would really appreciate some
I'm having a problem saving/loading an ArrayList<HashMap<String, Object>> across Android versions. I've been searching

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.