javascript latitude (1) 썸네일형 리스트형 [JAVASCRIPT] Navigator (위도, 경도) 날씨 제공용으로 접속자의 위치를 알고싶어서 찾아봤던 Navigator. 결론0. Doc 보면 바로 알 수 있다. 결론1. chrome 50부터는 https 에서만 사용할 수 있다. (Starting with Chrome 50, Chrome no longer supports obtaining the user's location using the HTML5 Geolocation API from pages delivered by non-secure connections. ) 결론2. 바로 테스트해볼 수 있는 코드 코드가 안된다면 https 로 접속을 안했거나 https로 접속 후 권한 요청에 승인을 안했을 경우이다. navigator.geolocation.getCurrentPosition((position)=.. 이전 1 다음