[最佳答案] jquery.ui.map doesn't have a method getCurrentPosition , you must implement it on your own. See http://code.google.com/p/jquery-ui-map/wiki/Examples#Example_get_user_position for an example <edit> The linked example seems to be wrong, at least it's wrong for this version of jquery.ui.map Use: ( function($) { $.extend($.ui.gmap.prototype, { /** * Gets the current position * @a: function(status, position) * @b:object, see https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMGeoP