I am creating an application which uses a google map, V3 of the API. However it does not let me add any Closure UI components to the DIVs which represent the Custom Controls of the map. Has anyone got any hints on how to do this?
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.
Google Maps lets you add arbitrary elements as controls. For example:
map.controls[google.maps.ControlPosition.TOP_LEFT].push(element);That element, which you have a reference to, can be decorated or rendered into using Closure, as you would any other. I’ve used this and it works great.