For implementing this problem I use this code <html> <head> <script src="http://www.google.com/jsapi?key=_key" type="text/ javascript"></script> <script src="http://maps.google.com/maps? file=api&v=2&hl=ru&key=_key" type="text/javascript"></ script> <script type="text/javascript"> functio init() { var map; map = new GMap2(document.getElementById("map_canvas")); map.setMapType(G_HYBRID_MAP); map.addControl(new GLargeMapControl()); map.enableContinuousZoom(); map.clearOverlays(); return; } </script> </head> <body onload="init();"> <h1>Test Page</h1> <div width="400" height="400" id="map_canvas" name="map_canvas" style="border:1px solid red; width:400px; height:400px;"></div> </body> </html>
I use JSapi on my pages for detecting user location by ip. All its ok before few days ago when my map start return JavaScript errors in Internet Explorer 7 but not in Chrome or FF. If I comment string in my code where geocoder used and load jsapi lib – all ok in ie. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
