ãã©ã¦ã¶ã¼ãGeolocation APIã«å¯¾å¿ãã¦ããå ´åã¯ãnavigatorãªãã¸ã§ã¯ãå ã« geolocationãªãã¸ã§ã¯ããç¨æããã¦ãã¾ããgeolocationãªãã¸ã§ã¯ãã«ã¯ãç¾å¨å°ã®ä½ç½®æ å ±ãæ±ããããã®ã¡ã½ãããç¨æããã¦ãã¾ãã navigator.geolocation.getCurrentPosition() ç¾å¨ã®ä½ç½®æ å ± navigator.geolocation.watchPosition() ç¾å¨å°ãå®æçã«ç£è¦ navigator.geolocation.clearWatch() watchPosition()ã§ã®ç£è¦ãä¸æ¢ ä»åã¯å®æçã«ä½ç½®æ å ±ãåå¾ããã®ã§ watchPosition() ã使ãã¾ããwatchPosition() ã¯ä½ç½®æ å ±ãåå¾ããããæåã®ãã©ã¡ã¼ã¿ã¼ã«æå®ãããé¢æ°ãå¼ã³åºãã¾ãããã¨ãã°ãwatchPosition(up
{{#tags}}- {{label}}
{{/tags}}