On Feb 5, 7:51 am, Drew <[email protected]> wrote: > Hello, > I'm trying to figure out a way for google maps to auto-center > depending on inputs from a kml file. For example, if I have a > geotagged photo in california and another in nevada, google maps > should auto-center so that it shows two states. If I have a geotagged > photo in california and another in florida, it should auto-center so > that it shows the entire United States. The problem here is that the > API GLatLng parameters only allow for a preset location - it doesn't > auto-center according to what the kml file has.
You have to do it yourself. See http://econym.org.uk/gmap/basic14.htm Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
