On Dec 9, 11:25 am, chris barcelona <[email protected]> wrote: > Hi, > I've just written (well, copied and pasted) my first database-dirven > googlemaps code following the example > here:http://code.google.com/intl/es-ES/apis/maps/articles/phpsqlajax.html > > However, in this example the lat long coordinates for the map CENTRE > are hard-coded. > Could anyone point me to a tutorial which explains in easy steps how > to go about setting the map centre coordinates from a mysql database.
How are you including the map center coordinates in the xml? (A link to your map or your xml would have answered that...) Or do you want the map to dynamically center and zoom to show all the data? Part 14 Fitting the map zoom to the data http://econym.org.uk/gmap/basic14.htm -- Larry > my javascript,xml skills aren't up to the task of working it out > myself! > thanks in advance > chris -- 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.
