> My setCenter is not working. Can you recommend what I should do? You could just let KmlLayer do its own thing http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers "By default, when displaying a KmlLayer, the map is zoomed and positioned to show the entirety of the layer's contents"
map.setCenter(saopaulo) won't work, see the docs http://code.google.com/apis/maps/documentation/javascript/reference.html#Map setCenter expects to be given a LatLng object, not a KmlLayer object -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
