I have just about cloned the example code found here:
http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/docs/examples.html


I get the error message "MarkerClusterer is not defined"

I am using FireFox 3.5 but have also tested in IE8 and get a similar
message " 'MarkerClusterer' is undefined".

Here is my test page and the source code behind it. Any help would be
greatly appreciated.

http://bikernw.com/tools/googlemaps/map_test.asp

<html>
<head>
<script type='text/javascript' src='http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAuPC7Jw-
qwnSYAWY9xnPg8xTFk5eStwB5DR0cGBQQLxnv0IesNxTDYFHALjmygG6FUHxTpEW3-
NF1yw'></script>
<script type='text/javascript'>
  var msg = document.getElementById('msg');

  function initialize()
  {
      var map = new GMap2(document.getElementById("map"));
      map.setCenter(new GLatLng(37.4419, -122.1419), 13);
      var mc = new MarkerClusterer(map);
  }
</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div style='border:1px solid black; width:500; height: 500px; z-index:
0' id='map'></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