单项选择题

在 HTML5 中,哪个方法用于获得用户的当前位置?()

A.getPosition()
B.getCurrentPosition()
C.getUserPosition()
D.getLocation()