Hi,

I try to work out with jsapi and markermanager.js at the same time,
but I get :

Error: GBounds is not defined
Source file: 
http://gmaps-utility-library-dev.googlecode.com/svn/trunk/markermanager/src/markermanager.js
Line: 428

And the map is blank.

Here is my code:

<script type="text/javascript" src="http://www.google.com/jsapi?
key=12345..."></script>
<script src="http://gmaps-utility-library-dev.googlecode.com/svn/trunk/
markermanager/src/markermanager.js">

<script type="text/javascript">
        google.load("maps", "2");

        function initialize() {
          if (GBrowserIsCompatible()) {
            var map = new google.maps.Map2(document.getElementById("map"));
            map.setCenter(new GLatLng(49.6127492,6.1398345), 13);
            map.addControl(new GLargeMapControl());
            map.addControl(new GMapTypeControl());
            var mgr = new MarkerManager(map);
            mgr.refresh();
          }
        }
        google.setOnLoadCallback(initialize);
</script>

If I comment the load of markermanager.js I get the map at least.
I'm loading prototype.js before that ... is there a problem with
that ?
It's in a rails project.

Anyone a idea ? :)


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