{"json_modified": "2016-03-28T08:28:47.255155", "uuid": "c08a11ab-bca1-48c6-936d-86d4ca18f0a9", "title": "PositionOptions.timeout", "url": "/en-US/docs/Web/API/PositionOptions/timeout", "tags": ["API", "PositionOptions", "Reference", "NeedsExample", "Property", "Geolocation API"], "translations": [{"uuid": "e86508ae-c35a-42c7-8e85-e2a1cb6c4889", "title": "PositionOptions.timeout", "url": "/zh-TW/docs/Web/API/PositionOptions/timeout", "tags": [], "summary": "\u662f\u4e00\u500b\u6b63\u503c\uff0c\u5b83\u4ee3\u8868\u6a5f\u5668\u80fd\u5920\u7b49\u5f85\u65b9\u6cd5\u56de\u50b3\u4f4d\u7f6e\u7684\u6700\u9577\u6642\u9593\uff08\u55ae\u4f4d\u662f\u6beb\u79d2\uff09\u3002\u9810\u8a2d\u503c\u662fInfinity
\uff0c\u4ee3\u8868 getCurrentPosition()
\u6b64\u65b9\u6cd5\u5728\u6c92\u6709\u53ef\u7528\u7684\u4f4d\u7f6e\u524d\u4e0d\u6703\u6709\u4efb\u4f55\u56de\u8986\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-03-23T02:34:59", "review_tags": []}], "modified": "2015-08-11T04:44:38", "label": "PositionOptions.timeout", "localization_tags": [], "locale": "en-US", "id": 81067, "last_edit": "2015-08-11T04:44:35", "summary": "The PositionOptions.timeout
property is a positive long
value representing the maximum length of time (in milliseconds) the device is allowed to take in order to return a position. The default value is Infinity
, meaning that getCurrentPosition()
won't return until the position is available.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/PositionOptions/timeout", "review_tags": []}