Hi All. I have a google map that links to two KML files that each contain a single placemark. It is showing on the screen, however when you click on the place mark I would like it to zoom in.
Any ideas how I could achieve this? -- <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/ TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Google Maps JavaScript API Example</title> <script src="http://maps.google.com/maps? file=api&v=2&key=ABQIAAAAWGg-OGAJ- GNN61t-2H6_aBRZ_XArkRlJAGC8Jv_HrJsobTPc6RQPPJ8K- Xaw46UuLyawk1gENtDBNg&sensor=true" type="text/javascript"></ script> <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { geoXml = new GGeoXml("http://www.anvilgroup.com/makeKML.kml"); geoXmlMJ = new GGeoXml("http://www.anvilgroup.com/ makeKMLMJ.kml"); var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(37.4419, -122.1419), 1); map.setUIToDefault(); map.addOverlay(geoXml); map.addOverlay(geoXmlMJ); } } </script> </head> <body onload="initialize()" onunload="GUnload()" style="padding:0px; margin:0px;"> <div id="map_canvas" style="width: 600px; height: 400px; padding:0px; margin:0px;"></div> </body> </html> -- Many, many Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
