www.gapsedu.com/contact.php it will go to first pages then follow the second pages... But I want it to go direct to the second pages...
<?php $map_address="australia"; ?> // I need to have this in order to input > Date: Mon, 11 May 2009 12:51:09 -0700 > Subject: Re: Go direct to the second map using geocoder instead of viewing > the first map > From: [email protected] > To: [email protected] > > > > Can you please provide a link... > > > > On May 11, 1:45 pm, "[email protected]" <[email protected]> > wrote: > > <script src="http://maps.google.com/maps? > > file=api&v=2.x&key=your key" type="text/javascript"></script> > > <script type="text/javascript"> > > > > var map = null; > > var geocoder = null; > > var map = null; > > var geocoder = null; > > > > function initialize() { > > if (GBrowserIsCompatible()) { > > map = new GMap2(document.getElementById("map_canvas")); > > map.setCenter(new GLatLng(1.3714, 103.8861), 13); > > map.addControl(new GSmallMapControl()); > > geocoder = new GClientGeocoder(); > > } > > } > > > > function showAddress(address) { > > if (geocoder) { > > geocoder.getLatLng( > > address, > > function(point) { > > if (!point) { > > alert(address + " not found"); > > } else { > > map.setCenter(point, 10); > > var marker = new GMarker(point); > > map.addOverlay(marker); > > } > > } > > ); > > } > > } > > > > </script> > > > > <?php $map_address="australia"; ?> // I need to have this in order to > > activate php > > <BODY onload="initialize(); showAddress('<?php echo $map_address; ? > > > > >');" onunload="GUnload();"> > > > > I need it to go directly to australia map using the geocoder instead > > of viewing the first map by longitude and latitude.. Is there a way to > > do it? > > _________________________________________________________________ See all the ways you can stay connected to friends and family http://www.microsoft.com/windows/windowslive/default.aspx --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
