Hello,
In firefox, opera and Chrome it works well, but with IE7 and ie8, some
time it doen't initialize correctly, with some parts of the images in
gray.
You can check it out it at:
http://alguera.com/inmuebles   --> "Alquiler or Ventas" -->
"+información"

We use ZKOSS and load the following gmaps.html in an iframe.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html>
  <head>
    <TITLE>Gmaps</TITLE>
    <meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
    <style type="text/css">
      body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        overflow: hidden;
      }
      html {
        overflow: hidden;
      }
    </style>

    <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=our_key"
            type="text/javascript">
    </script>
    <script type="text/javascript">
      var map;
      var geocoder;
      var address;

      function initialize() {
        map = new GMap2(document.getElementById("map_canvas"));
        geocoder = new GClientGeocoder();
        map.setCenter(new GLatLng(40.24, 3.41), 4);
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
      }

      function addAddressToMap(response) {
        map.clearOverlays();
        if (!response || response.Status.code != 200) {
          alert("Lo sentimos, no hemos podido encontrar esta dirección
en Google maps");
        } else {
          place = response.Placemark[0];
          point = new GLatLng(place.Point.coordinates[1],
                              place.Point.coordinates[0]);
          marker = new GMarker(point);
          map.addOverlay(marker);
          map.setCenter(new GLatLng(place.Point.coordinates
[1],place.Point.coordinates[0]), 15)
        }
      }

      function showLocation(address) {
        geocoder.getLocations(address, addAddressToMap);
      }

      function getParameter(parameterName) {
        queryString = window.location.search.substring(1);
        var parameterName = parameterName + "=";
        if(queryString.length > 0) {
          begin = queryString.indexOf(parameterName);
          if(begin != -1) {
            begin += parameterName.length;
            end = queryString.indexOf ( "&" , begin );
            if(end == -1) {
              end = queryString.length
            }
            return unescape(queryString.substring(begin, end));
          }
          return "null";
        }
      }
    </script>
  </head>

  <body onload="initialize();showLocation(getParameter('address'))"
onunload="GUnload()" style="font-family:Arial;border: 0 none">
    <div id="map_canvas" style="width:455px;height:300px"></div>
  </body>

</html>

Thanks a lot for your help,
Fred

--~--~---------~--~----~------------~-------~--~----~
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