Hi All,

I am trying to run the following piece of code in my local machine. I
am getting the directions between wisconsin and New york. And when I
click on the image (source A or Destination B) I am getting a callout
which is more like a street view.

The problem is when I run the same code in production i am not getting
anything in the callout. It is blank. I could not find out what the
problem is. Please help me in resolving this issue.

Thanks in advance.

<html>
  <head>
    <title>Google Maps JavaScript API Example: Event Arguments</title>
        <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-
m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA"
            type="text/javascript"></script>
    <script type="text/javascript">

    function initialize() {
      if(GBrowserIsCompatible()) {
        var blueIcon = new GIcon(G_DEFAULT_ICON);
        blueIcon.image = "http://gmaps-samples.googlecode.com/svn/
trunk/markers/blue/blank.png";
                // Set up our GMarkerOptions object
                markerOptions = { icon:blueIcon };

        var map = new GMap2(document.getElementById("map_canvas"));
        map.addControl(new GSmallMapControl());
        var des = "wisconsin" + ', To '+ "New York";
        var directions = new GDirections(map);

        directions.load(des);
        map.addControl(new GMapTypeControl());

      }
    }
  </script>
  </head>

  <body onload="initialize()" onunload="GUnload()">
    <div id="map_canvas" style="width: 500px; height: 300px"></div>
  </body>
</html>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to