{"json_modified": "2016-03-28T08:28:47.369587", "uuid": "992ee5ac-8e3d-47d4-a8b6-73f81a320f58", "title": "PositionOptions.maximumAge", "url": "/en-US/docs/Web/API/PositionOptions/maximumAge", "tags": ["PositionOptions", "Property", "Geolocation API", "API", "NeedsExample"], "translations": [{"uuid": "a3450611-fb80-4dd5-af34-de5be97fc2df", "title": "PositionOptions.maximumAge", "url": "/zh-TW/docs/Web/API/PositionOptions/maximumAge", "tags": [], "summary": "PositionOptions.maximumAge
\u662f\u4e00\u500b\u6b63\u503c\uff0c\u5b83\u4ee3\u8868\u53ef\u4ee5\u63a5\u53d7\u66ab\u5b58\u4f4d\u7f6e\u7684\u6700\u9577\u671f\u9650\uff08\u55ae\u4f4d\u662f\u6beb\u79d2\uff09\u3002\u5982\u679c\u8a2d\u5b9a\u70ba 0\uff0c\u4ee3\u8868\u6a5f\u5668\u5fc5\u9808\u56de\u50b3\u5be6\u969b\u7684\u7576\u524d\u4f4d\u7f6e\u800c\u4e0d\u80fd\u4f7f\u7528\u66ab\u5b58\u4f4d\u7f6e\u3002\u5982\u679c\u8a2d\u5b9a\u70ba Infinity
\uff0c \u6a5f\u5668\u5fc5\u5b9a\u6703\u56de\u50b3\u66ab\u5b58\u4f4d\u7f6e\u800c\u4e0d\u8003\u616e\u4ed6\u7684\u671f\u9650\u3002\u9810\u8a2d\u503c\uff1a0\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-03-23T02:35:09", "review_tags": []}], "modified": "2015-08-11T04:42:40", "label": "PositionOptions.maximumAge", "localization_tags": [], "locale": "en-US", "id": 81069, "last_edit": "2015-08-11T04:42:37", "summary": "The PositionOptions.maximumAge
property is a positive long
value indicating the maximum age in milliseconds of a possible cached position that is acceptable to return. If set to 0
, it means that the device cannot use a cached position and must attempt to retrieve the real current position. If set to Infinity
the device must return a cached position regardless of its age.", "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/maximumAge", "review_tags": []}