Geolocation API ç¾å¨ä½ç½®ãåå¾ãã ç¾å¨ä½ç½®ãåå¾ããæ¹æ³ã¨ãã¦ã ã¯ã¤ãã¯ã»ã¹ã¿ã¼ã ãã§ãgetCurrentPosition() ã¡ã½ãããç´¹ä»ãã¾ãããããã®ã¡ã½ããã«ã¤ãã¦ããå°ã詳細ã解説ãã¾ãã getCurrentPosition() ã¡ã½ãã window.navigator.geolocation.getCurrentPosition( successCallback, errorCallback, options ) ãã®ã¡ã½ããã¯æ大㧠3ã¤ã®å¼æ°ãåãã¾ãã 第ä¸å¼æ° successCallback ã¯ãä½ç½®æ å ±åå¾ã«æåããæã«å®è¡ãããé¢æ°ã®ãªãã¸ã§ã¯ããæå®ãã¾ãã第ä¸å¼æ°ã¯å¿ é ã§ãã 第äºå¼æ° errorCallback ã¯ãä½ç½®æ å ±åå¾ã«å¤±æããæã«å®è¡ãããé¢æ°ãªãã¸ã§ã¯ããæå®ãã¾ãã 第ä¸å¼æ° options ã¯ãä½ç½®æ å ±åå¾ã«
{{#tags}}- {{label}}
{{/tags}}