I’m using google maps javascript API, I want to create a small InfoWindow with 50px height, I user infowindow.SetOptions({height:50}) but it does nothing! how can I set my height?
Share
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.
Give an ID/class to your infoWindow element, you can do this by putting your infoWindow’s content variable in a
divlike below:And then use CSS to adjust the height: