Thanks for the answer

I have this error meesage in following case:
- my server is wamp
- firefox version 3.0.2 on the same machine as the server
- the link is http://googleearth.hd.free.fr/
- the complete code is (my server is not always on):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:v="urn:schemas-
microsoft-com:vml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/
>
        <meta http-equiv=X-UA-Compatible content="IE=EmulateIE7" />

    <title>mainPage</title>

    <style type="text/css">
      @import url("http://www.google.com/uds/css/gsearch.css";);
      @import url("http://www.google.com/uds/solutions/localsearch/
gmlocalsearch.css");
      }
    </style>

    <script src="http://maps.google.com/maps?
file=api&v=2&key=ABQIAAAAhhcJAPYCKWCmmUA6TRfAfhS37_Gi2DvHxGJElKEiuo7P7-
BPLBQM75UjjWUnjIu3zZtYl0OnkOxZHQ"
      type="text/javascript"></script>
    <script src="http://www.google.com/uds/api?
file=uds.js&v=1.0&key=ABQIAAAAhhcJAPYCKWCmmUA6TRfAfhS37_Gi2DvHxGJElKEiuo7P7-
BPLBQM75UjjWUnjIu3zZtYl0OnkOxZHQ" type="text/javascript"></script>
    <script src="http://www.google.com/uds/solutions/localsearch/
gmlocalsearch.js" type="text/javascript"></script>

    <script type="text/javascript">

    //<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"), { size: new
GSize(1000, 380) } );
                var center = new GLatLng(48.86, 2.35);
        map.setCenter(center, 2);
        map.addControl(new GLargeMapControl());
        map.addControl(new google.maps.LocalSearch(), new
GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20)));
                marker = new GMarker(center);
        map.addOverlay(marker);
                marker.openInfoWindowHtml("Something");
      }
    }
        GSearch.setOnLoadCallback(load);

    //]]>
    </script>

  </head>
  <body onLoad="load()" onUnload="GUnload()">
  <div id="map" style="margin: 0px; width: 1000px; height: 380px"></
div>
</body>
</html>

If I use another machine with firefox 2.0.0.14, I get another error
message: "b has no properties"
I found also if I remove "GSearch.setOnLoadCallback(load);", there is
no error message on both machines. I will have a look in the document
to know what this line means because I don't see the difference on my
page


Thanks again

On Sep 23, 11:09 pm, Rossko <[EMAIL PROTECTED]> wrote:
> maybe a 'var' for your map and marker objects?
> maybe your map <div> doesn't have a unique id?
> maybe its nothin to do with maps?
>
> See -
>    http://groups.google.com/group/Google-Maps-API/t/39c2fd0cf99e14b2
>
> The request to post a link to an example of the problem helps others
> to help you.
>
> cheers, Ross K
heers, Ross K

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