InterviewSolution
Saved Bookmarks
| 1. |
Success callback function evoke only when ___________(a) user accepts to share location information(b) always evoke(c) gps is accessible(d) only by mobile browserThis question was addressed to me in final exam.Enquiry is from Geolocation API topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» CORRECT answer is (a) USER accepts to share location information The best explanation: There is a privacy for SHARING of user’s location and the CALLBACK function is evoke only when a user accepts to share his location. Its input PARAMETER is a position of the object. If this function fails then error callback function will be evoked. |
|