> <script src="http://maps.google.com/maps?file=api&v=2&key= > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXĀXXXXXX"
If your APIkey were XXX.. of course it wouldn't work. So, the code you've posted here isn't what you are actually running, is it? What's the point, who knows what else you might have changed or has been mangled by the groups text processing. See - http://groups.google.com/group/Google-Maps-API/t/39c2fd0cf99e14b2 and post a link to where the problem is. Don't be shy about your API key, it's no use to anyone else. And after all, your completed webpage will be public (won't it?) cheers, Ross K > type="text/javascript"></script> > <script type="text/javascript"> > function load() > { > if (GBrowserIsCompatible()) > { var map = new GMap2(document.getElementById("map")); > map.addControl(new GLargeMapControl()); > map.addControl(new GMapTypeControl()); > map.addControl(new GScaleControl()); > var marker = new GMarker(new GLatLng > (44.6532233333333,7.80656333333333)); > map.setCenter(new GLatLng (44.6532233333333,7.80656333333333), 15); > GEvent.addListener(marker, "click", function() > { marker.openInfoWindowHtml("Position");}); > map.addOverlay(marker);} > } > > </script> > </head> > <body onload="load()" onunload="GUnload()"> <div id="map" > style="width: 630px; height: 415px"></div> > </body> > </html> > > thanks > > Marco --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
