You should create the sidebar row in createMarker() function to avoid
scope problems. You can trigger 'click' on marker by sidebar click.
That opens the info window and takes care on map centering. If you
don't like to open the info window you can center the map to marker
position in click handler function.

    map.setCenter(marker.getPosition());

http://koti.mbnet.fi/ojalesa/boundsbox/makemarker_sidebar.htm

-- 
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.

Reply via email to