I am having problems with centering the map using the panTo() method – as well as making the directions (from/to) to work like tabs.
Here is my code:
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The example snippet you’re linking to is no longer available, but assuming from the answer by Chris, I’m assuming you want to center the marker whose info window was opened. I had the same problem and solved it like this: