Is there a way to make that a clickable link next to the map to center and focus on different locations?
On Jul 14, 5:05 pm, "[email protected]" <[email protected]> wrote: > On Jul 14, 4:53 pm, William <[email protected]> wrote: > > > I used an example someone gave me for the focusmap and have been > > trying to incorporate it into the tabbed infowindows so that's why I'm > > using it. Is there a way to have a separate link center and zoom the > > already open map? > > http://code.google.com/apis/maps/documentation/javascript/reference.h... > setCenter(latlng:LatLng) > setZoom(zoom:number) > > -- Larry > > > On Jul 14, 4:49 pm, Rossko <[email protected]> wrote: > > > > Your focusMap() function creates a complete new map object (so > > > overwriting/destroying the old one). I don't know why you do that. > > > Why not just centre and zoom the original map.- Hide quoted text - > > > - Show quoted text - -- 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.
