1.

Which of the following method will return DOM object that contains map?(a) getCenter()(b) getProjection()(c) getDiv()(d) gettilt()This question was posed to me during an interview.I need to ask this question from HTML Google Maps in division Advance HTML of HTML

Answer»

The correct option is (c) getDiv()

To ELABORATE: getDiv() method will return DOM object that contains map. Its return type is NODE. getCenter() will return lng/lat of center of the map. getTilt() method will return angle of INCIDENCE for aerial imagery in DEGREES. Current position is RETURNED when getProjection() event is fired up.



Discussion

No Comment Found

Related InterviewSolutions