1.

getCurrentPosition does not take the argument?(a) successCallback(b) options(c) errorCallback(d) TimeoutI got this question during an interview for a job.Asked question is from HTML Geolocation in chapter Advance HTML of HTML

Answer»

Right answer is (d) Timeout

Easiest explanation: getCurrentPosition METHOD takes THREE ARGUMENTS successCallbaack, errorCallback, OPTIONS. A successCallback set to GetMap.showMap by MapSwitcher or to GeoMap.showPosition by GeolocationBox.



Discussion

No Comment Found

Related InterviewSolutions