I am currently stuck with google maps v3.
I try to add bounds manually in this way, but it doesn’t work!?
map.fitBounds((53.399999, 9.73215099999993), (53.717145, 10.123491999999942));
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.
fitBoundsexpects an object of the typeLatLngBounds, which in turn is initialized with twoLatLngobjects.This should work:
Reference:
LatLngLatLngBoundsfitBounds()