i just try to build a webpage by google map api . i only havan a domain name and a google map api key. If you want ,i will e-mail you my webpage.
all my webpage codes are: ======================================================================================= <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>index</title> <script src="http://maps.google.com/maps? file=api&v=2&key=ABQIAAAAROJZHxc9_HpGA7B2IfR6UxSUAi6IEt_v5ZN_JjctOC4h- EiZphSUrZkF3CLl4FlGhQbf2KiB8lBtCQ" type="text/javascript"> </script> <script type="text/javascript" src="./rt3.js"></script> <script type="text/javascript"> var map; function initial() { map = new GMap2(document.getElementById("id1")); map.addControl(new GOverviewMapControl()); map.setCenter(new GLatLng(39.917, 116.397), 14); } </script> </head> <body onload="initial()" onunload="GUnload()"> <div id="id1" style="width:680px;height:560px"></div> </body> </html> ------------------------------------------------------------------------------------------------------------------------------------------------------------------- rt3.js (i have just only addListener !!! that‘s strange,it cause error!!! ) GEvent.addListener(map,"click", function(overlay,latlng) { var marker=new GMarker(this.latlng, {dragable:true}); map.addOverlay(marker);}); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
